MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / computeFileHash

Function computeFileHash

apps/web/src/scripts/managed-indexing/test.ts:104–107  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

102}
103
104function computeFileHash(filePath: string): string {
105 const content = readFileSync(filePath);
106 return createHash('sha256').update(content).digest('hex');
107}
108
109// API operations
110async function uploadFile(

Callers 2

uploadFileFunction · 0.85
indexFilesFunction · 0.85

Calls 1

updateMethod · 0.65

Tested by

no test coverage detected