Files
mfer/internal/cli
sneak 814859c4f3
check / check (push) Waiting to run
Require a SHA-256 hash in every manifest entry (closes #224)
Loading accepted an entry whose hashes held no SHA-256 multihash, and
check and fetch, which compute only SHA-256, then reported the intact
file as a hash mismatch. Loading now refuses such an entry, naming its
path. AddFileWithHash accepts only a SHA-256 multihash, and freshen
carries an unchanged entry's SHA-256 hash over instead of its first
hash. SHA256Multihash, new in package mfer, finds that hash for both.
docs/FORMAT.md states the rule for writers and readers. Two loading
tests whose entries held an empty hash now give each entry a SHA-256
hash; the decoding-size test's path lengths change with it.

Model: opus-5-5
2026-10-15 18:16:16 +00:00
..