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

Method force

pygit2/refspec.py:52–54  ·  view source on GitHub ↗

Whether this refspeca llows non-fast-forward updates

(self)

Source from the content-addressed store, hash-verified

50
51 @property
52 def force(self) -> bool:
53 """Whether this refspeca llows non-fast-forward updates"""
54 return bool(C.git_refspec_force(self._refspec))
55
56 @property
57 def string(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected