MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / printCachedItemsCount

Method printCachedItemsCount

js/botasaurus-js/src/cache.ts:280–285  ·  view source on GitHub ↗
(func: Function | string)

Source from the content-addressed store, hash-verified

278 }
279
280 static printCachedItemsCount(func: Function | string): number {
281 const cachedItemsCount = getCachedFiles(func).length;
282 const nm = getFnName(func);
283 console.log(`Number of cached items for ${nm}: ${cachedItemsCount}`);
284 return cachedItemsCount;
285 }
286
287 static getCachedItemsCount(func: Function | string): number {
288 return getCachedFiles(func).length;

Callers

nothing calls this directly

Calls 2

getCachedFilesFunction · 0.85
getFnNameFunction · 0.85

Tested by

no test coverage detected