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

Method enable_strict_object_creation

pygit2/settings.py:251–253  ·  view source on GitHub ↗

Enable or disable strict object creation validation

(self, value: bool = True)

Source from the content-addressed store, hash-verified

249 option(Option.SET_SSL_CIPHERS, ciphers)
250
251 def enable_strict_object_creation(self, value: bool = True) -> None:
252 """Enable or disable strict object creation validation"""
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"""

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected