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 return results
496
497
498def _report_id(path: Path) -> str:
499 return hashlib.sha1(str(path.resolve()).encode("utf-8")).hexdigest()[:20]
500
501

Callers 2

_report_recordFunction · 0.85
_doc_payloadsFunction · 0.85

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected