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

Method getPreviousCommit

extensions/github1s/src/repository/index.ts:100–102  ·  view source on GitHub ↗
(ref: string, filePath: string)

Source from the content-addressed store, hash-verified

98 }
99
100 getPreviousCommit(ref: string, filePath: string) {
101 return CommitManager.getInstance(this._scheme, this._repo, ref, filePath).getPreviousCommit();
102 }
103
104 getNextCommit(ref: string, filePath: string) {
105 return CommitManager.getInstance(this._scheme, this._repo, ref, filePath).getNextCommit();

Callers 1

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected