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

Method UpdateStrategy

submodule.go:289–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287}
288
289func (sub *Submodule) UpdateStrategy() SubmoduleUpdate {
290 o := C.git_submodule_update_strategy(sub.ptr)
291 runtime.KeepAlive(sub)
292 return SubmoduleUpdate(o)
293}
294
295func (c *SubmoduleCollection) SetUpdate(submodule string, update SubmoduleUpdate) error {
296 csubmodule := C.CString(submodule)

Callers

nothing calls this directly

Calls 1

SubmoduleUpdateTypeAlias · 0.85

Tested by

no test coverage detected