MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / hashFile

Function hashFile

scripts/release-check.mjs:58–60  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

56}
57
58function hashFile(path) {
59 return createHash('sha256').update(readFileSync(path)).digest('hex')
60}
61
62// Only compare files that exist in both trees. Ignore sourcemaps (which embed
63// absolute paths) and .br brotli files (which aren't byte-reproducible across

Callers 1

release-check.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected