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

Function _report_id

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

Source from the content-addressed store, hash-verified

495
496
497def _report_id(path: Path) -> str:
498 return hashlib.sha1(str(path.resolve()).encode("utf-8")).hexdigest()[:20]
499
500
501def _extract_frontmatter(raw: str) -> Tuple[Dict[str, Any], str]:

Callers 2

_report_recordFunction · 0.85
_doc_payloadsFunction · 0.85

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected