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

Method delete

js/botasaurus-js/src/cache.ts:200–204  ·  view source on GitHub ↗
(func: Function | string, keyData: any)

Source from the content-addressed store, hash-verified

198 }
199
200 static delete(func: Function | string, keyData: any): void {
201 _createCacheDirectoryIfNotExists(func);
202 const path = _getCachePath(func, keyData);
203 _remove(path);
204 }
205
206 static deleteItems(func: Function | string, items: any[]): number {
207 const hashes = Cache.getItemsHashes(func, items);

Callers 11

clearMethod · 0.45
closeAllChromesFunction · 0.45
closeDriverFunction · 0.45
reportTaskSuccessMethod · 0.45
reportTaskFailureMethod · 0.45
buildAppFunction · 0.45
removeFromAbortCheckMethod · 0.45
checkAllTasksAbortionMethod · 0.45
deleteTaskMethod · 0.45

Calls 3

_getCachePathFunction · 0.85
_removeFunction · 0.70

Tested by

no test coverage detected