MCPcopy
hub / github.com/go-git/go-git / ForEach

Method ForEach

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

Source from the content-addressed store, hash-verified

550type CommitIter interface {
551 Next() (*Commit, error)
552 ForEach(func(*Commit) error) error
553 Close()
554}
555

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