MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / check_owned_root

Function check_owned_root

tools/materialize-bench/imported_guest.py:192–195  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

190
191
192def check_owned_root(root):
193 owner = json.loads((root / 'owner.json').read_text())
194 if owner != dict(marker=MARKER, root=str(root)):
195 raise ValueError('not the original disposable benchmark root')
196
197
198def reset_fixture(root, backend, manifest, case):

Callers 1

measureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected