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

Method Type

odb.go:365–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363}
364
365func (object *OdbObject) Type() ObjectType {
366 ret := ObjectType(C.git_odb_object_type(object.ptr))
367 runtime.KeepAlive(object)
368 return ret
369}
370
371// Data returns a slice pointing to the unmanaged object memory. You must make
372// sure the object is referenced for at least as long as the slice is used.

Callers 4

SmartCertificateCheckMethod · 0.45
checkRefTypeFunction · 0.45
TestOdbReadFunction · 0.45

Calls 1

ObjectTypeTypeAlias · 0.85

Tested by 2

checkRefTypeFunction · 0.36
TestOdbReadFunction · 0.36