MCPcopy
hub / github.com/conwnet/github1s / provideCommit

Method provideCommit

extensions/github1s/src/adapters/types.ts:220–222  ·  view source on GitHub ↗
(repo: string, ref: string)

Source from the content-addressed store, hash-verified

218 // the ref here may be a commitSha, branch, tag, or 'HEAD'
219 // optionally return changed files (if `files` exists can reduce api calls)
220 provideCommit(repo: string, ref: string): Promisable<(Commit & { files?: ChangedFile[] }) | null> {
221 return null;
222 }
223
224 provideCommitChangedFiles(repo: string, ref: string, options?: CommonQueryOptions): Promisable<ChangedFile[]> {
225 return [];

Callers 2

checkCommitExistsFunction · 0.45
CommitManagerClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected