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

Method IsRemote

reference.go:343–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341}
342
343func (v *Reference) IsRemote() bool {
344 ret := C.git_reference_is_remote(v.ptr) == 1
345 runtime.KeepAlive(v)
346 return ret
347}
348
349func (v *Reference) IsTag() bool {
350 ret := C.git_reference_is_tag(v.ptr) == 1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected