MCPcopy
hub / github.com/omkarcloud/botasaurus / delete

Method delete

botasaurus/cache.py:438–442  ·  view source on GitHub ↗

Remove a specific cache file.

(func, key_data)

Source from the content-addressed store, hash-verified

436
437 @staticmethod
438 def delete(func, key_data):
439 """Remove a specific cache file."""
440 _create_cache_directory_if_not_exists(func)
441 path = _get_cache_path(func, key_data)
442 _remove(path)
443
444 @staticmethod
445 def delete_items(func, items):

Callers 8

delete_taskMethod · 0.45
run_taskFunction · 0.45
run_taskFunction · 0.45
run_taskFunction · 0.45
wrapper_cacheFunction · 0.45
fix_in_progress_tasksMethod · 0.45
delete_taskMethod · 0.45
delete_child_tasksMethod · 0.45

Calls 3

_get_cache_pathFunction · 0.85
_removeFunction · 0.70

Tested by

no test coverage detected