Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
54
function
hashContent(content: string): string {
55
return
crypto.createHash(
'sha256'
).update(content).digest(
'hex'
);
56
}
57
58
export
class
Transaction {
Callers
2
write
Method · 0.70
delete
Method · 0.70
Calls
1
update
Method · 0.80
Tested by
no test coverage detected