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

Method hash

js/botasaurus-js/src/cache.ts:147–149  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

145 }
146
147 static hash(data: any): string {
148 return _hash(data);
149 }
150
151 static has(func: Function | string, keyData: any): boolean {
152 _createCacheDirectoryIfNotExists(func);

Callers 2

filterItemsInCacheMethod · 0.45
filterItemsNotInCacheMethod · 0.45

Calls 1

_hashFunction · 0.70

Tested by

no test coverage detected