MCPcopy Create free account
hub / github.com/crisxuan/bestJavaer / repo_root

Function repo_root

scripts/check_article_quality.py:85–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def repo_root() -> Path:
86 return Path(run_git(["rev-parse", "--show-toplevel"]).strip()).resolve()
87
88
89def is_article_path(path: Path) -> bool:

Callers 1

check_filesFunction · 0.85

Calls 1

run_gitFunction · 0.85

Tested by

no test coverage detected