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

27except Exception:
28 DEFAULT_WIKI_DIR = PROJECT_ROOT / "data" / "wiki"
29
30db_ops = importlib.import_module("skills.storage-helper.scripts.db_ops")
31
32
33def _now() -> str:
34 return datetime.now(timezone.utc).replace(microsecond=0).isoformat()
35
36
37def _wiki_root() -> Path:
38 configured = os.environ.get("PAPERFLOW_WIKI_DIR", "").strip()
39 if configured:

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