MCPcopy Create free account
hub / github.com/libgit2/pygit2 / path

Method path

pygit2/submodules.py:145–148  ·  view source on GitHub ↗

Path of the submodule.

(self)

Source from the content-addressed store, hash-verified

143
144 @property
145 def path(self):
146 """Path of the submodule."""
147 path = C.git_submodule_path(self._subm)
148 return ffi.string(path).decode('utf-8')
149
150 @property
151 def url(self) -> str | None:

Callers

nothing calls this directly

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected