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

Method Len

odb.go:359–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

357}
358
359func (object *OdbObject) Len() (len uint64) {
360 ret := uint64(C.git_odb_object_size(object.ptr))
361 runtime.KeepAlive(object)
362 return ret
363}
364
365func (object *OdbObject) Type() ObjectType {
366 ret := ObjectType(C.git_odb_object_type(object.ptr))

Callers 1

TestOdbReadFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestOdbReadFunction · 0.64