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

Function NewCommitLimitIterFromIter

plumbing/object/commit_walker_limit.go:20–25  ·  view source on GitHub ↗
(commitIter CommitIter, limitOptions LogLimitOptions)

Source from the content-addressed store, hash-verified

18}
19
20func NewCommitLimitIterFromIter(commitIter CommitIter, limitOptions LogLimitOptions) CommitIter {
21 iterator := new(commitLimitIter)
22 iterator.sourceIter = commitIter
23 iterator.limitOptions = limitOptions
24 return iterator
25}
26
27func (c *commitLimitIter) Next() (*Commit, error) {
28 for {

Callers 1

logWithLimitMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…