MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _wiki_root

Function _wiki_root

skills/wiki-store/scripts/wiki_db.py:29–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28
29def _wiki_root() -> Path:
30 configured = os.environ.get("PAPERFLOW_WIKI_DIR", "").strip()
31 if configured:
32 root = Path(configured).expanduser()
33 if not root.is_absolute():
34 root = PROJECT_ROOT / root
35 return root
36 return DEFAULT_WIKI_DIR
37
38
39def _json_dumps(value: Any) -> str:

Callers 3

init_wiki_schemaFunction · 0.85
write_node_mirrorFunction · 0.85
statsFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected