MCPcopy
hub / github.com/github/awesome-copilot / _file_content

Function _file_content

skills/code-tour/scripts/validate_tour.py:49–53  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

47
48
49def _file_content(path: Path) -> str:
50 try:
51 return path.read_text(errors="replace")
52 except Exception:
53 return ""
54
55
56def validate_tour(tour_path: str, repo_root: str = ".") -> dict:

Callers 1

validate_tourFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected