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

Method provideCommits

extensions/github1s/src/adapters/types.ts:214–216  ·  view source on GitHub ↗
(repo: string, options?: CommitsQueryOptions)

Source from the content-addressed store, hash-verified

212 // commits should be returned by the order of `new to old`, if `options.path` is not empty,
213 // the first commit should be the latest commit that related the `options.path` file (maybe not `ref`)
214 provideCommits(repo: string, options?: CommitsQueryOptions): Promisable<(Commit & { files?: ChangedFile[] })[]> {
215 return [];
216 }
217
218 // the ref here may be a commitSha, branch, tag, or 'HEAD'
219 // optionally return changed files (if `files` exists can reduce api calls)

Callers 1

CommitManagerClass · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected