MCPcopy Create free account
hub / github.com/Houseofmvps/codesight / hashFileContent

Function hashFileContent

src/scanner.ts:118–120  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

116}
117
118export function hashFileContent(content: string): string {
119 return createHash("sha1").update(content).digest("hex").slice(0, 12);
120}
121
122export async function collectFiles(
123 root: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected