(self)
| 7 | |
| 8 | class 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(): |
nothing calls this directly
no outgoing calls
no test coverage detected