MCPcopy Create free account
hub / github.com/libgit2/git2go / EntryCount

Method EntryCount

tree.go:118–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118func (t *Tree) EntryCount() uint64 {
119 num := C.git_tree_entrycount(t.cast_ptr)
120 runtime.KeepAlive(t)
121 return uint64(num)
122}
123
124type TreeWalkCallback func(string, *TreeEntry) error
125type treeWalkCallbackData struct {

Callers 6

TestCherrypickCommitFunction · 0.45
checkSecondFileStagedFunction · 0.45
checkNoFilesStagedFunction · 0.45
TestStatusListFunction · 0.45
TestStatusNothingFunction · 0.45
TestObjectPoymorphismFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestCherrypickCommitFunction · 0.36
checkSecondFileStagedFunction · 0.36
checkNoFilesStagedFunction · 0.36
TestStatusListFunction · 0.36
TestStatusNothingFunction · 0.36
TestObjectPoymorphismFunction · 0.36