Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenWebCAD/node-occ
/ hash
Function
hash
lib/fastbuilder.js:190–196 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
188
}
189
190
function
hash(args) {
191
192
const
shasum = crypto.createHash(
"sha1"
);
193
shasum.update(args);
194
return
shasum.digest(
"hex"
);
195
196
}
197
198
/**
199
*
Callers
3
prepareObject
Method · 0.85
replaceObjectsByGUUID
Function · 0.85
calculateOperationHash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected