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

Method commit_to_disk

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

Source from the content-addressed store, hash-verified

38 self.json_data = json.load(json_file)
39
40 def commit_to_disk(self):
41 with open(self.json_path, "w") as json_file:
42 json.dump(self.json_data, json_file, indent=4)
43
44 def get_item(self, key: str, default = None) -> str:
45 if key in self.json_data:

Callers 4

refreshMethod · 0.95
set_itemMethod · 0.95
remove_itemMethod · 0.95
clearMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected