MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / createCacheKey

Function createCacheKey

js/botasaurus-server-js/src/task-results.ts:27–29  ·  view source on GitHub ↗
(scraperName: string, data: any)

Source from the content-addressed store, hash-verified

25}
26
27export function createCacheKey(scraperName: string, data: any): string {
28 return `${scraperName}-${_hash(data)}.ndjson`;
29}
30
31
32function getFiles(): string[] {

Callers 3

createCachedTasksFunction · 0.90
saveCachedTaskMethod · 0.85
copyTaskToCachedTaskMethod · 0.85

Calls 1

_hashFunction · 0.90

Tested by

no test coverage detected