MCPcopy Index your code
hub / github.com/go-git/go-git / logWithLimit

Method logWithLimit

repository.go:1324–1326  ·  view source on GitHub ↗
(commitIter object.CommitIter, limitOptions object.LogLimitOptions)

Source from the content-addressed store, hash-verified

1322}
1323
1324func (*Repository) logWithLimit(commitIter object.CommitIter, limitOptions object.LogLimitOptions) object.CommitIter {
1325 return object.NewCommitLimitIterFromIter(commitIter, limitOptions)
1326}
1327
1328func commitIterFunc(order LogOrder) func(c *object.Commit) object.CommitIter {
1329 switch order {

Callers 1

LogMethod · 0.95

Calls 1

Tested by

no test coverage detected