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

Function getCachedFiles

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

Source from the content-addressed store, hash-verified

123}
124
125function getCachedFiles(func: Function | string): string[] {
126 const fnName = getFnName(func);
127 const fnCacheDir = path.join(Cache.cacheDirectory, fnName);;
128 const cacheDir = fnCacheDir;
129 return getFilesWithoutJsonExtension(cacheDir);
130}
131
132class Cache {
133 static cacheDirectory = relativePath('cache');

Callers 3

getItemsHashesMethod · 0.85
printCachedItemsCountMethod · 0.85
getCachedItemsCountMethod · 0.85

Calls 3

getFnNameFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected