MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / ContextConfig

Class ContextConfig

src/codegraphcontext/cli/config_manager.py:830–835  ·  view source on GitHub ↗

Top-level structure stored in ~/.codegraphcontext/config.yaml.

Source from the content-addressed store, hash-verified

828
829@dataclass
830class 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
838def _default_db_path(context_name: str, database: str) -> str:

Callers 1

load_context_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected