MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / hashPath

Function hashPath

scripts/codex-worktree-cache.mjs:307–309  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

305}
306
307function hashPath(path) {
308 return createHash("sha256").update(readFileSync(path)).digest("hex");
309}
310
311function rustHostTriple() {
312 const result = spawnSync("rustc", ["-vV"], { encoding: "utf8" });

Callers 1

locksMatchFunction · 0.85

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected