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

Function _remove

botasaurus/cache.py:96–101  ·  view source on GitHub ↗
(cache_path)

Source from the content-addressed store, hash-verified

94 return results
95
96def _remove(cache_path):
97 if os.path.exists(cache_path):
98 try:
99 os.remove(cache_path)
100 except FileNotFoundError:
101 pass
102# used by decorators
103def _put(result, cache_path):
104 write_json(result, cache_path)

Callers 6

delete_taskMethod · 0.90
delete_all_taskMethod · 0.90
_getFunction · 0.70
safe_getFunction · 0.70
safe_corrupted_getFunction · 0.70
deleteMethod · 0.70

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected