MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / text_hash

Function text_hash

scripts/extract_source_text.py:93–94  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

91
92
93def text_hash(text: str) -> str:
94 return hashlib.sha256((text or "").encode("utf-8")).hexdigest()
95
96
97def language_hint_for_text(text: str) -> str:

Callers 2

finalize_sectionFunction · 0.85
build_manifestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected