MCPcopy Create free account
hub / github.com/go-git/go-git / logWithLimit

Method logWithLimit

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

Source from the content-addressed store, hash-verified

1313}
1314
1315func (*Repository) logWithLimit(commitIter object.CommitIter, limitOptions object.LogLimitOptions) object.CommitIter {
1316 return object.NewCommitLimitIterFromIter(commitIter, limitOptions)
1317}
1318
1319func commitIterFunc(order LogOrder) func(c *object.Commit) object.CommitIter {
1320 switch order {

Callers 1

LogMethod · 0.95

Calls 1

Tested by

no test coverage detected