Top-level structure stored in ~/.codegraphcontext/config.yaml.
| 828 | |
| 829 | @dataclass |
| 830 | class ContextConfig: |
| 831 | """Top-level structure stored in ~/.codegraphcontext/config.yaml.""" |
| 832 | version: int = 1 |
| 833 | mode: str = "global" # global | per-repo | named |
| 834 | default_context: str = "" # used when mode=named and no --context flag |
| 835 | contexts: Dict[str, ContextInfo] = field(default_factory=dict) |
| 836 | |
| 837 | |
| 838 | def _default_db_path(context_name: str, database: str) -> str: |
no outgoing calls
no test coverage detected