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

Method enable_ofs_delta

pygit2/settings.py:259–261  ·  view source on GitHub ↗

Enable or disable offset delta encoding

(self, value: bool = True)

Source from the content-addressed store, hash-verified

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"""
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"""

Callers

nothing calls this directly

Calls 1

optionFunction · 0.90

Tested by

no test coverage detected