Skip to main content

Crate zccache_hash

Crate zccache_hash 

Source
Expand description

Hashing utilities for zccache.

Provides blake3-based content hashing and cache key computation.

Modules§

cache_key
Cache key computation.
link_cache_key
Cache key computation for link/archive operations.

Structs§

ContentHash
A 32-byte blake3 hash digest.
StreamHasher
Incremental hasher for building a ContentHash from multiple updates.

Functions§

hash_bytes
Hash the contents of a byte slice.
hash_file
Hash the contents of a file using memory mapping.
hash_reader
Hash the contents of a reader.