MCPcopy
hub / github.com/chidiwilliams/buzz / get_task_path

Method get_task_path

buzz/cache.py:72–75  ·  view source on GitHub ↗
(self, task_id: int)

Source from the content-addressed store, hash-verified

70 file.write(json_str)
71
72 def get_task_path(self, task_id: int):
73 path = os.path.join(self.cache_dir, "transcriptions", f"{task_id}.json")
74 os.makedirs(os.path.dirname(path), exist_ok=True)
75 return path
76
77 def clear(self):
78 if os.path.exists(self.pickle_cache_file_path):

Callers 2

load_json_tasksMethod · 0.95
save_json_tasksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected