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

Function test_loose

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

Source from the content-addressed store, hash-verified

59
60
61def test_loose(odb_path: tuple[Odb, Path]) -> None:
62 odb, path = odb_path
63
64 pack = pygit2.OdbBackendLoose(path, 5, False)
65 assert len(list(pack)) > 0
66 for obj in pack:
67 assert obj in odb
68
69
70class ProxyBackend(pygit2.OdbBackend):

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…