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

Function test_pack

test/test_odb_backend.py:52–58  ·  view source on GitHub ↗
(odb_path: tuple[Odb, Path])

Source from the content-addressed store, hash-verified

50
51
52def test_pack(odb_path: tuple[Odb, Path]) -> None:
53 odb, path = odb_path
54
55 pack = pygit2.OdbBackendPack(path)
56 assert len(list(pack)) > 0
57 for obj in pack:
58 assert obj in odb
59
60
61def test_loose(odb_path: tuple[Odb, Path]) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…