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

Method refspec_count

pygit2/remotes.py:315–318  ·  view source on GitHub ↗

Total number of refspecs in this remote

(self)

Source from the content-addressed store, hash-verified

313
314 @property
315 def refspec_count(self) -> int:
316 """Total number of refspecs in this remote"""
317
318 return C.git_remote_refspec_count(self._remote)
319
320 def get_refspec(self, n: int) -> Refspec:
321 """Return the <Refspec> object at the given position."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected