MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / clear

Method clear

botasaurus/botasaurus_storage.py:69–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67
68
69 def clear(self) -> None:
70 if os.path.isfile(self.json_path):
71 os.remove(self.json_path)
72 self.json_data = {}
73 self.commit_to_disk()
74
75class _LocalStorage:
76 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