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