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

Method Hide

walk.go:111–122  ·  view source on GitHub ↗
(id *Oid)

Source from the content-addressed store, hash-verified

109}
110
111func (v *RevWalk) Hide(id *Oid) error {
112 runtime.LockOSThread()
113 defer runtime.UnlockOSThread()
114
115 ecode := C.git_revwalk_hide(v.ptr, id.toC())
116 runtime.KeepAlive(v)
117 runtime.KeepAlive(id)
118 if ecode < 0 {
119 return MakeGitError(ecode)
120 }
121 return nil
122}
123
124func (v *RevWalk) HideGlob(glob string) error {
125 runtime.LockOSThread()

Callers

nothing calls this directly

Calls 2

MakeGitErrorFunction · 0.85
toCMethod · 0.45

Tested by

no test coverage detected