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

Method Name

submodule.go:202–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202func (sub *Submodule) Name() string {
203 n := C.GoString(C.git_submodule_name(sub.ptr))
204 runtime.KeepAlive(sub)
205 return n
206}
207
208func (sub *Submodule) Path() string {
209 n := C.GoString(C.git_submodule_path(sub.ptr))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected