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
417
418def _display_path(path: Path) -> str:
419 resolved = path.resolve()
420 try:
421 return str(resolved.relative_to(PROJECT_ROOT.resolve())).replace("\\", "/")
422 except ValueError:
423 return str(resolved)
424
425
426def _directory_size_bytes(path: Path, max_files: int = 5000) -> int:

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