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

Function _wiki_node_file_exists

deployments/desktop/shared/agents.py:3176–3184  ·  view source on GitHub ↗
(root: Path, relative_path: str)

Source from the content-addressed store, hash-verified

3174 if report["report_id"] != normalized_id:
3175 continue
3176 return {
3177 "report": {
3178 **_report_summary_payload(report),
3179 "metadata": report["metadata"],
3180 "markdown": report["markdown"],
3181 }
3182 }
3183 raise ValueError(f"Report not found: {normalized_id}")
3184
3185
3186def delete_report(report_id: str) -> Dict[str, Any]:
3187 normalized_id = str(report_id or "").strip()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected