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

Function _display_path

deployments/desktop/shared/agents.py:418–423  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

416 return str(path) if path else ""
417
418
419def _display_path(path: Path) -> str:
420 resolved = path.resolve()
421 try:
422 return str(resolved.relative_to(PROJECT_ROOT.resolve())).replace("\\", "/")
423 except ValueError:
424 return str(resolved)
425
426

Callers 4

_report_recordFunction · 0.85
export_dataFunction · 0.85
list_reportsFunction · 0.85
delete_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected