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

Method ObjectCount

packbuilder.go:102–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102func (pb *Packbuilder) ObjectCount() uint32 {
103 ret := uint32(C.git_packbuilder_object_count(pb.ptr))
104 runtime.KeepAlive(pb)
105 return ret
106}
107
108func (pb *Packbuilder) WriteToFile(name string, mode os.FileMode) error {
109 cname := C.CString(name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected