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

Method enable_strict_hash_verification

pygit2/settings.py:267–269  ·  view source on GitHub ↗

Enable or disable strict hash verification

(self, value: bool = True)

Source from the content-addressed store, hash-verified

265 option(Option.ENABLE_FSYNC_GITDIR, value)
266
267 def enable_strict_hash_verification(self, value: bool = True) -> None:
268 """Enable or disable strict hash verification"""
269 option(Option.ENABLE_STRICT_HASH_VERIFICATION, value)
270
271 def enable_unsaved_index_safety(self, value: bool = True) -> None:
272 """Enable or disable unsaved index safety checks"""

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected