MCPcopy 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
190function 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

prepareObjectMethod · 0.85
replaceObjectsByGUUIDFunction · 0.85
calculateOperationHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected