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

Method Type

object.go:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (o *Object) Type() ObjectType {
76 ret := ObjectType(C.git_object_type(o.ptr))
77 runtime.KeepAlive(o)
78 return ret
79}
80
81// Owner returns a weak reference to the repository which owns this object.
82// This won't keep the underlying repository alive, but it should still be

Callers 3

TestObjectPoymorphismFunction · 0.95
TestObjectPeelFunction · 0.95
dupObjectFunction · 0.45

Calls 1

ObjectTypeTypeAlias · 0.85

Tested by 2

TestObjectPoymorphismFunction · 0.76
TestObjectPeelFunction · 0.76