MCPcopy Create free account
hub / github.com/comaps/comaps / check_exact

Function check_exact

tools/python/check_store_metadata.py:168–172  ·  view source on GitHub ↗
(path, expected)

Source from the content-addressed store, hash-verified

166 return done(path, ok)
167
168def check_exact(path, expected):
169 (ok, value) = check_raw(path, len(expected))
170 if value != expected:
171 ok = error(path, "invalid value: got={}, expected={}", value, expected)
172 return done(path, ok)
173
174def drop_locale(locale_path):
175 shutil.rmtree(locale_path)

Callers 1

check_androidFunction · 0.85

Calls 3

check_rawFunction · 0.85
errorFunction · 0.85
doneFunction · 0.85

Tested by

no test coverage detected