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

Method WdId

submodule.go:257–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255}
256
257func (sub *Submodule) WdId() *Oid {
258 var id *Oid
259 idx := C.git_submodule_wd_id(sub.ptr)
260 if idx != nil {
261 id = newOidFromC(idx)
262 }
263 runtime.KeepAlive(sub)
264 return id
265}
266
267func (sub *Submodule) Ignore() SubmoduleIgnore {
268 o := C.git_submodule_ignore(sub.ptr)

Callers

nothing calls this directly

Calls 1

newOidFromCFunction · 0.85

Tested by

no test coverage detected