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

Function _report_title

deployments/desktop/shared/agents.py:525–530  ·  view source on GitHub ↗
(body: str, path: Path)

Source from the content-addressed store, hash-verified

523 return parsed if isinstance(parsed, dict) else {}, body
524
525
526def _report_title(body: str, path: Path) -> str:
527 for line in body.splitlines():
528 stripped = line.strip()
529 if stripped.startswith("#"):
530 return stripped.lstrip("#").strip() or path.stem
531 return path.stem
532
533

Callers 1

_report_recordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected