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

Method fetch_refspecs

pygit2/remotes.py:326–332  ·  view source on GitHub ↗

Refspecs that will be used for fetching

(self)

Source from the content-addressed store, hash-verified

324
325 @property
326 def fetch_refspecs(self) -> list[str]:
327 """Refspecs that will be used for fetching"""
328
329 specs = ffi.new('git_strarray *')
330 err = C.git_remote_get_fetch_refspecs(specs, self._remote)
331 check_error(err)
332 return strarray_to_strings(specs)
333
334 @property
335 def push_refspecs(self) -> list[str]:

Callers

nothing calls this directly

Calls 2

check_errorFunction · 0.85
strarray_to_stringsFunction · 0.85

Tested by

no test coverage detected