MCPcopy Create free account
hub / github.com/Louisym/MiniCC / _content_hash

Function _content_hash

mini_claude_code/prompt.py:140–142  ·  view source on GitHub ↗

稳定的内容 hash。源码: prompt.rs:347-351

(content: str)

Source from the content-addressed store, hash-verified

138
139
140def _content_hash(content: str) -> str:
141 """稳定的内容 hash。源码: prompt.rs:347-351"""
142 return hashlib.sha256(content.encode()).hexdigest()
143
144
145def dedupe_instruction_files(files: list[ContextFile]) -> list[ContextFile]:

Callers 1

dedupe_instruction_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected