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

Method TargetId

tag.go:55–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (t *Tag) TargetId() *Oid {
56 ret := newOidFromC(C.git_tag_target_id(t.cast_ptr))
57 runtime.KeepAlive(t)
58 return ret
59}
60
61func (t *Tag) TargetType() ObjectType {
62 ret := ObjectType(C.git_tag_target_type(t.cast_ptr))

Callers 1

TestCreateTagFunction · 0.80

Calls 1

newOidFromCFunction · 0.85

Tested by 1

TestCreateTagFunction · 0.64