MCPcopy Create free account
hub / github.com/cactus-compute/cactus / __init__

Method __init__

python/src/config_utils.py:9–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7
8class CactusConfig:
9 def __init__(self):
10 self.config_dir = Path.home() / ".cactus"
11 self.config_file = self.config_dir / "config.json"
12 self.config_dir.mkdir(exist_ok=True)
13 self.telemetry_cache_dir = Path.home() / "Library" / "Caches" / "cactus" / "telemetry"
14 self.cloud_api_key_cache_file = self.telemetry_cache_dir / "cloud_api_key"
15
16 def load_config(self):
17 if self.config_file.exists():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected