MCPcopy Create free account
hub / github.com/T0UGH/codex-self-evolution-plugin / resolve_repo_root

Function resolve_repo_root

src/codex_self_evolution/config.py:198–201  ·  view source on GitHub ↗
(cwd: str | Path | None = None)

Source from the content-addressed store, hash-verified

196
197
198def resolve_repo_root(cwd: str | Path | None = None) -> Path:
199 if cwd:
200 return Path(cwd).resolve()
201 return Path.cwd().resolve()
202
203
204def build_paths(repo_root: str | Path | None = None, state_dir: str | Path | None = None) -> Paths:

Callers 1

build_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected