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

Function read_page

skills/mini-context-graph/scripts/tools/wiki_store.py:179–185  ·  view source on GitHub ↗

Read a wiki page's content. Returns None if not found.

(category: str, title: str)

Source from the content-addressed store, hash-verified

177
178
179def read_page(category: str, title: str) -> str | None:
180 """Read a wiki page's content. Returns None if not found."""
181 slug = _slug(title)
182 path = _page_path(category, slug)
183 if not path.exists():
184 return None
185 return path.read_text()
186
187
188def read_page_by_slug(slug: str) -> str | None:

Callers

nothing calls this directly

Calls 2

_slugFunction · 0.85
_page_pathFunction · 0.85

Tested by

no test coverage detected