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

Method url

pygit2/submodules.py:151–154  ·  view source on GitHub ↗

URL of the submodule.

(self)

Source from the content-addressed store, hash-verified

149
150 @property
151 def url(self) -> str | None:
152 """URL of the submodule."""
153 url = C.git_submodule_url(self._subm)
154 return maybe_string(url)
155
156 @url.setter
157 def url(self, url: str) -> None:

Callers

nothing calls this directly

Calls 3

maybe_stringFunction · 0.85
to_bytesFunction · 0.85
check_errorFunction · 0.85

Tested by

no test coverage detected