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

Method Ignore

submodule.go:267–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265}
266
267func (sub *Submodule) Ignore() SubmoduleIgnore {
268 o := C.git_submodule_ignore(sub.ptr)
269 runtime.KeepAlive(sub)
270 return SubmoduleIgnore(o)
271}
272
273func (c *SubmoduleCollection) SetIgnore(submodule string, ignore SubmoduleIgnore) error {
274 csubmodule := C.CString(submodule)

Callers

nothing calls this directly

Calls 1

SubmoduleIgnoreTypeAlias · 0.85

Tested by

no test coverage detected