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

Method Url

submodule.go:214–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212}
213
214func (sub *Submodule) Url() string {
215 n := C.GoString(C.git_submodule_url(sub.ptr))
216 runtime.KeepAlive(sub)
217 return n
218}
219
220func (c *SubmoduleCollection) SetUrl(submodule, url string) error {
221 csubmodule := C.CString(submodule)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected