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

Method Id

object.go:54–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (o *Object) Id() *Oid {
55 ret := newOidFromC(C.git_object_id(o.ptr))
56 runtime.KeepAlive(o)
57 return ret
58}
59
60func (o *Object) ShortId() (string, error) {
61 resultBuf := C.git_buf{}

Callers 1

TestObjectPoymorphismFunction · 0.95

Calls 1

newOidFromCFunction · 0.85

Tested by 1

TestObjectPoymorphismFunction · 0.76