MCPcopy Create free account
hub / github.com/apify/crawlee-python / hash

Function hash

website/roa-loader/index.js:14–16  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

12let warnedAboutMissingToken = false;
13
14function hash(source) {
15 return createHash('sha1').update(source).digest('hex');
16}
17
18async function getHash(source) {
19 const cacheKey = hash(source);

Callers 5

__hash__Method · 0.85
__hash__Method · 0.85
__hash__Method · 0.85
__hash__Method · 0.85
getHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected