Expand description
SHA-256 hex hashing helpers shared across agent-doc crates.
Functionsยง
- bytes_
hash - Compute the SHA-256 hex digest of arbitrary bytes.
- content_
hash - Compute the SHA-256 hex digest of UTF-8 text content.
- document_
id_ for_ path - Compute the stable document id used by tracked-work and queue sidecars.
- path_
hash - Compute the SHA-256 hex digest of a canonical document path.
- path_
string_ hash - Compute the SHA-256 hex digest of an already-resolved path string.
- short_
content_ hash - Compute the 12-character SHA-256 hex prefix used in compact diagnostics.