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

Function is_article_path

scripts/check_article_quality.py:89–95  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

87
88
89def is_article_path(path: Path) -> bool:
90 parts = path.parts
91 if not parts or path.suffix.lower() != ".md":
92 return False
93 if path.name.lower() == "readme.md":
94 return False
95 return parts[0] in ARTICLE_ROOTS
96
97
98def all_article_files() -> list[Path]:

Callers 2

all_article_filesFunction · 0.85
check_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected