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

Method clear

botasaurus/local_storage.py:74–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 # return new
73
74 def clear(self) -> None:
75 if os.path.isfile(self.json_path):
76 os.remove(self.json_path)
77 self.json_data = {}
78 self.commit_to_disk()
79
80class _LocalStorage:
81 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