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

Method clear

bota/src/bota/package_storage.py:63–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61
62
63 def clear(self) -> None:
64 if os.path.isfile(self.json_path):
65 os.remove(self.json_path)
66 self.json_data = {}
67 self.commit_to_disk()
68
69class _LocalStorage:
70 def __init__(self) -> None:

Callers

nothing calls this directly

Calls 2

commit_to_diskMethod · 0.95
removeMethod · 0.80

Tested by

no test coverage detected