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

Method enable_strict_symbolic_ref_creation

pygit2/settings.py:255–257  ·  view source on GitHub ↗

Enable or disable strict symbolic reference creation validation

(self, value: bool = True)

Source from the content-addressed store, hash-verified

253 option(Option.ENABLE_STRICT_OBJECT_CREATION, value)
254
255 def enable_strict_symbolic_ref_creation(self, value: bool = True) -> None:
256 """Enable or disable strict symbolic reference creation validation"""
257 option(Option.ENABLE_STRICT_SYMBOLIC_REF_CREATION, value)
258
259 def enable_ofs_delta(self, value: bool = True) -> None:
260 """Enable or disable offset delta encoding"""

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected