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

Method EntryCount

index.go:452–456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450}
451
452func (v *Index) EntryCount() uint {
453 ret := uint(C.git_index_entrycount(v.ptr))
454 runtime.KeepAlive(v)
455 return ret
456}
457
458func (v *Index) EntryByIndex(index uint) (*IndexEntry, error) {
459 centry := C.git_index_get_byindex(v.ptr, C.size_t(index))

Callers 1

TestIndexRemoveDirectoryFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestIndexRemoveDirectoryFunction · 0.76