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

Function _visible_wiki_node_ids

deployments/desktop/shared/agents.py:3199–3203  ·  view source on GitHub ↗
(user_id: str)

Source from the content-addressed store, hash-verified

3197 if not any(path == root or path.is_relative_to(root) for root in allowed_roots):
3198 raise ValueError("Report path is outside configured report directories")
3199 path.unlink()
3200 # A deleted file is never revisited by the mtime check, so drop it here
3201 # or it would keep showing up in the list.
3202 invalidate_report_cache(path)
3203 return {
3204 "deleted": True,
3205 "report_id": normalized_id,
3206 "title": report.get("title") or "",

Callers 2

wiki_askFunction · 0.85
wiki_ask_streamFunction · 0.85

Calls 2

getMethod · 0.80

Tested by

no test coverage detected