Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
307
function
hashPath(path) {
308
return
createHash(
"sha256"
).update(readFileSync(path)).digest(
"hex"
);
309
}
310
311
function
rustHostTriple() {
312
const
result = spawnSync(
"rustc"
, [
"-vV"
], { encoding:
"utf8"
});
Callers
1
locksMatch
Function · 0.85
Calls
1
update
Method · 0.65
Tested by
no test coverage detected