Expand description
Deterministic content checksums and snapshots of reviewed file sets.
Tree capture intentionally accepts an explicit list instead of discovering a directory. Callers retain control over ignore rules, discovery symlink policy, and the input boundary.
Structsยง
- Candidate ๐
- Captured
File ๐ - Checksum
- A BLAKE3 content checksum.
- Counting
Reader ๐ - Error
- Failure to checksum a file or capture a tree snapshot.
- Parse
Checksum Error - Failure to parse the canonical hexadecimal representation of a checksum.
- Tree
Entry - One regular file included in a
TreeSnapshot. - Tree
Snapshot - A deterministic snapshot of an explicitly reviewed set of regular files.
Enumsยง
- Error
Kind ๐
Constantsยง
- ADJACENT_
PAIR ๐ - CHECKSUM_
BYTES ๐ - CHECKSUM_
HEX_ ๐LENGTH - HEX_
ALPHA_ ๐OFFSET - HEX_
PAIR_ ๐BYTES - NIBBLE_
BITS ๐ - SECOND_
ITEM ๐ - TREE_
DOMAIN ๐
Functionsยง
- bytes
- Compute the BLAKE3 checksum of bytes already in memory.
- checked_
file ๐ - current_
executable - Compute the checksum of the currently running executable.
- decode_
hex ๐ - file
- Compute the BLAKE3 checksum of a regular file.
- tree_
checksum ๐ - update_
length ๐
Type Aliasesยง
- Result
- Result returned by checksum operations.