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

Function _relative_file_path

skills/wiki-store/scripts/wiki_db.py:78–79  ·  view source on GitHub ↗
(user_id: str, node_type: str, node_id: str)

Source from the content-addressed store, hash-verified

76
77
78def _relative_file_path(user_id: str, node_type: str, node_id: str) -> str:
79 return (Path(storage_label_for_user_id(user_id)) / _node_folder(node_type) / f"{_slug(node_id)}.md").as_posix()
80
81
82def _row_to_node(row: sqlite3.Row) -> Dict[str, Any]:

Callers 2

write_node_mirrorFunction · 0.85
upsert_nodeFunction · 0.85

Calls 3

_node_folderFunction · 0.85
_slugFunction · 0.70

Tested by

no test coverage detected