MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / is_diff_applied

Function is_diff_applied

tools/setup.py:60–61  ·  view source on GitHub ↗
(original: Path, expected_hash: str)

Source from the content-addressed store, hash-verified

58
59
60def is_diff_applied(original: Path, expected_hash: str) -> bool:
61 return file_sha256(original) == expected_hash
62
63def patch_clang(remake_diffs=False):
64 redownloaded_clang = False

Callers 1

Calls 1

file_sha256Function · 0.85

Tested by

no test coverage detected