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

Method ForEach

plumbing/object/commit.go:461–461  ·  view source on GitHub ↗
(func(*Commit) error)

Source from the content-addressed store, hash-verified

459type CommitIter interface {
460 Next() (*Commit, error)
461 ForEach(func(*Commit) error) error
462 Close()
463}
464

Callers 15

TestCloneMirrorMethod · 0.65
TestCloneWithTagsMethod · 0.65
TestCloneDetachedHEADMethod · 0.65
TestLogAllMethod · 0.65
TestLogFileForEachMethod · 0.65
TestLogAllFileForEachMethod · 0.65
TestLogFileWithErrorMethod · 0.65

Implementers 15

mockErrCommitIterrepository_test.go
lazyPackfilesIterstorage/filesystem/object.go
packfileIterstorage/filesystem/object.go
objectsIterstorage/filesystem/object.go
referenceFilteredIterplumbing/storer/reference.go
ReferenceSliceIterplumbing/storer/reference.go
MultiReferenceIterplumbing/storer/reference.go
EncodedObjectLookupIterplumbing/storer/object.go
EncodedObjectSliceIterplumbing/storer/object.go
MultiEncodedObjectIterplumbing/storer/object.go
commitLimitIterplumbing/object/commit_walker_limit.go
commitPathIterplumbing/object/commit_walker_path.go

Calls

no outgoing calls

Tested by 15

TestCloneMirrorMethod · 0.52
TestCloneWithTagsMethod · 0.52
TestCloneDetachedHEADMethod · 0.52
TestLogAllMethod · 0.52
TestLogFileForEachMethod · 0.52
TestLogAllFileForEachMethod · 0.52
TestLogFileWithErrorMethod · 0.52