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

Method direction

pygit2/refspec.py:62–64  ·  view source on GitHub ↗

Direction of this refspec (fetch or push)

(self)

Source from the content-addressed store, hash-verified

60
61 @property
62 def direction(self):
63 """Direction of this refspec (fetch or push)"""
64 return C.git_refspec_direction(self._refspec)
65
66 def src_matches(self, ref: str) -> bool:
67 """Return True if the given string matches the source of this refspec,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected