Skip to main content

Module wrapper

Module wrapper 

Source
Expand description

Reader wrapper that tracks how many bytes of a pack have been consumed while keeping a running hash (SHA-1, SHA-256 or BLAKE3-256, per the repository HashKind) for trailer verification.

Structsยง

Wrapper
Wrapper is a wrapper around a reader that also computes the running hash (of the repository HashKind) of the data read.