fn parse_checksum(content: &str, filename: &str) -> Result<String>Expand description
Parse a checksums file content and find the hash for filename.
Handles two formats:
- Multi-line:
<hex_hash> <filename>(with one or two spaces) - Single-line: just a hex hash (for per-file
.sha256files)
ยงErrors
- No matching entry found for
filename.