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

Method enable_fsync_gitdir

pygit2/settings.py:263–265  ·  view source on GitHub ↗

Enable or disable fsync for git directory operations

(self, value: bool = True)

Source from the content-addressed store, hash-verified

261 option(Option.ENABLE_OFS_DELTA, value)
262
263 def enable_fsync_gitdir(self, value: bool = True) -> None:
264 """Enable or disable fsync for git directory operations"""
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"""

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected