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

Method Target

reference.go:252–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

250}
251
252func (v *Reference) Target() *Oid {
253 ret := newOidFromC(C.git_reference_target(v.ptr))
254 runtime.KeepAlive(v)
255 return ret
256}
257
258func (v *Reference) SymbolicTarget() string {
259 var ret string

Callers

nothing calls this directly

Calls 1

newOidFromCFunction · 0.85

Tested by

no test coverage detected