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

Method ForEach

storage/filesystem/object.go:698–700  ·  view source on GitHub ↗
(cb func(plumbing.EncodedObject) error)

Source from the content-addressed store, hash-verified

696}
697
698func (it *lazyPackfilesIter) ForEach(cb func(plumbing.EncodedObject) error) error {
699 return storer.ForEachIterator(it, cb)
700}
701
702func (it *lazyPackfilesIter) Close() {
703 if it.cur != nil {

Callers

nothing calls this directly

Calls 1

ForEachIteratorFunction · 0.92

Tested by

no test coverage detected