1.0.7 • Published 6 years ago
@skypilot/nodegit-tools v1.0.7
@skypilot/nodegit-tools
A collection of utilities for working with NodeGit
Functions
Commit functions
findCommitByBranchName
async findCommitByBranchName(branchName: string, { repository?: Repository }): Promise<Commit>findCommitByOid
async findCommitByOid(oid: Oid, { repository?: Repository }): Promise<Commit>findCommitByReference
async findCommitByReference(reference: Reference, { repository?: Repository }): Promise<Commit>findCommitBySha
async findCommitBySha(sha: string, { repository?: Repository }): Promise<Commit>findCommitByTagName
async findCommitByTagName(tagName: string, { repository?: Repository }): Promise<Commit>findRangeOfCommitsByOid
async findRangeOfCommitsByOid(newestOid: Oid, oldestOid: Oid, { repository?: Repository }): Promise<Commit[]>findRangeOfCommitsBySha
async findRangeOfCommitsBySha(newestSha: string, oldestSha: string, { repository?: Repository }): Promise<Commit[]>getCommitOid
getCommitOid(commit: Commit): OidgetCommitRecord
getCommitRecord(commit: Commit): { date: Date, message: string, sha: string } retrieveHeadCommit
async retrieveHeadCommit({ repository?: Repository }): Promise<Commit>Oid (object ID) functions
findMergeBaseOid
async findMergBaseOid(oidA: Oid, oidB: Oid, { repository?: Repository }): Promise<Oid>findOidBySha
async findOidBySha(sha: string, { repository?: Repository }): Promise<Oid>getOidSha
getOidSha(oid: Oid): stringReference functions
findReferenceByTagName
async findReferenceByTagName(tagName: string, { repository?: Repository }): Promise<Reference>getReferenceShorthand
getReferenceShorthand(reference: Reference): stringretrieveCurrentBranchName
async retrieveCurrentBranchName({ repository?: Repository }): Promise<Reference>retrieveCurrentBranchReference
async retrieveCurrentBranchReference({ repository?: Repository }): Promise<Reference>Repo functions
openRepo
async openRepository({ path?: string }): Promise<Repository>Tag functions
async retrieveTagNames({ repository?: Repository }): Promise<string[]>1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.7-next.0
6 years ago
1.0.6-next.0
6 years ago
1.0.5-next.0
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.1-next.0
6 years ago
1.0.0
6 years ago
1.0.0-alpha.0
6 years ago
0.1.5-alpha.3
6 years ago
0.1.5-alpha.2
6 years ago
0.1.1-next
6 years ago
0.1.3-alpha
6 years ago
0.1.5-alpha
6 years ago
0.1.5-alpha.1
6 years ago
0.1.2-alpha
6 years ago
0.1.5-alpha.0
6 years ago
0.1.4-alpha
6 years ago
0.1.0-next
6 years ago