MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / hashContent

Function hashContent

src/filesystem/transaction.ts:53–55  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

51`;
52
53
54function hashContent(content: string): string {
55 return crypto.createHash('sha256').update(content).digest('hex');
56}
57
58export class Transaction {

Callers 2

writeMethod · 0.70
deleteMethod · 0.70

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected