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

Function lenIterEncodedObjects

worktree_commit_test.go:680–688  ·  view source on GitHub ↗
(iter storer.EncodedObjectIter)

Source from the content-addressed store, hash-verified

678}
679
680func lenIterEncodedObjects(iter storer.EncodedObjectIter) int {
681 count := 0
682 iter.ForEach(func(plumbing.EncodedObject) error {
683 count++
684 return nil
685 })
686
687 return count
688}
689
690func defaultSignature() *object.Signature {
691 when, _ := time.Parse(object.DateFormat, "Thu May 04 00:03:43 2017 +0200")

Callers 1

assertStorageStatusFunction · 0.85

Calls 1

ForEachMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…