INNER CODE UNIT · Python
path
varunsalian/debrify · tool/webdav_memory_stress/run.py:68
path = ROOT / repository_name if context is None else context / context_name
contents = path.read_bytes()
digest.update(repository_name.encode())
digest.update(b"\0")
digest.update(contents)
digest.update(b"\0")
hashes[repository_name] = hashlib.sha256(contents).hexdigest()
return {
"inputDigest": digest.hexdigest(),
"sourceSha256": {name: hashes[f"lib/{name}"] for name in SOURCES},
"workerSha256": hashes[str((HERE / "worker.dart").relative_to(ROOT))],
"buildInputSha256": hashes,
}
def build():
# Only the worker, pinned dependencies and selected production source files
# enter the local Docker build. No Flutter SDK, app secrets or user data.