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

Method disable_pack_keep_file_checks

pygit2/settings.py:135–141  ·  view source on GitHub ↗

This will cause .keep file existence checks to be skipped when accessing packfiles, which can help performance with remote filesystems.

(self, value: bool = True)

Source from the content-addressed store, hash-verified

133 return option(Option.ENABLE_CACHING, value)
134
135 def disable_pack_keep_file_checks(self, value: bool = True) -> None:
136 """
137 This will cause .keep file existence checks to be skipped when
138 accessing packfiles, which can help performance with remote
139 filesystems.
140 """
141 return option(Option.DISABLE_PACK_KEEP_FILE_CHECKS, value)
142
143 def cache_max_size(self, value: int) -> None:
144 """

Calls 1

optionFunction · 0.90