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

Class ContextConfig

src/codegraphcontext/cli/config_manager.py:793–798  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

791
792@dataclass
793class ContextConfig:
794 """Top-level structure stored in ~/.codegraphcontext/config.yaml."""
795 version: int = 1
796 mode: str = "global" # global | per-repo | named
797 default_context: str = "" # used when mode=named and no --context flag
798 contexts: Dict[str, ContextInfo] = field(default_factory=dict)
799
800
801def _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