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

Method set_odb_loose_priority

pygit2/settings.py:310–312  ·  view source on GitHub ↗

Set the priority for loose ODB backend (default 2)

(self, priority: int)

Source from the content-addressed store, hash-verified

308 option(Option.SET_ODB_PACKED_PRIORITY, priority)
309
310 def set_odb_loose_priority(self, priority: int) -> None:
311 """Set the priority for loose ODB backend (default 2)"""
312 option(Option.SET_ODB_LOOSE_PRIORITY, priority)
313
314 @property
315 def extensions(self) -> list[str]:

Callers 1

test_odb_prioritiesFunction · 0.80

Calls 1

optionFunction · 0.90

Tested by 1

test_odb_prioritiesFunction · 0.64