package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 9, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package checkfile parses and formats BLAKE3 checksum lines, matching the
output and --check input of the reference b3sum tool.
Two line formats are supported:
<hex> <name> // default, two spaces (GNU coreutils style)
BLAKE3 (<name>) = <hex> // BSD style, emitted with --tag
Format renders a checksum line (without trailing newline). When tag is true
it emits the BSD style; otherwise the default two-space style.
IsSkip reports whether err indicates a blank/comment line from ParseLine.
Entry is one parsed checksum line: a hash and the file name it covers.
Parse reads all checksum lines from r, skipping blank and comment lines.
ParseLine parses a single checksum line in either supported format.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.