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

Method push_refspecs

pygit2/remotes.py:335–341  ·  view source on GitHub ↗

Refspecs that will be used for pushing

(self)

Source from the content-addressed store, hash-verified

333
334 @property
335 def push_refspecs(self) -> list[str]:
336 """Refspecs that will be used for pushing"""
337
338 specs = ffi.new('git_strarray *')
339 err = C.git_remote_get_push_refspecs(specs, self._remote)
340 check_error(err)
341 return strarray_to_strings(specs)
342
343 def push(
344 self,

Callers

nothing calls this directly

Calls 2

check_errorFunction · 0.85
strarray_to_stringsFunction · 0.85

Tested by

no test coverage detected