Skip to main content

Crate agent_doc_hash

Crate agent_doc_hash 

Source
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.