MCPcopy Create free account
hub / github.com/Qinbf/groundmap / _read

Function _read

scripts/tests/test_release_guards.py:36–40  ·  view source on GitHub ↗
(rel: str)

Source from the content-addressed store, hash-verified

34
35
36def _read(rel: str) -> str:
37 p = PROJECT_ROOT / rel
38 if not p.exists():
39 pytest.skip(f"找不到 {rel},跳过守护检查")
40 return p.read_text(encoding="utf-8")
41
42
43class TestWebGitCwdGuard:

Calls

no outgoing calls

Tested by

no test coverage detected