Return the object at the given position.
(self, n: int)
| 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.""" |
| 322 | spec = C.git_remote_get_refspec(self._remote, n) |
| 323 | return Refspec(self, spec) |
| 324 | |
| 325 | @property |
| 326 | def fetch_refspecs(self) -> list[str]: |