2 Commits
Author SHA1 Message Date
Claude 8cac5066f6 Doc comments on every function
Every function and method, tests included, has a doc comment: what it
is or does, what it returns and anything a caller needs to know.  Only
comments are added; gofmt split a few aligned blocks of one-line
functions once each had its own comment.  The generated protobuf code
is left as protoc writes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-18 21:26:18 +00:00
Claude 0c0e5ffd51 FidoNet: ARC, ARJ and LHA bundles, in an archive package of our own
internal/archive reads ZIP, ARC (stored, packed, squeezed, crunched,
squashed), ARJ (methods 0 to 4) and LHA (-lh0-, -lh4- to -lh7-, header
levels 0 to 2) in Go, with no other programs, and writes ARC, ARJ and
LHA stored.  Sizes are checked before memory is given to them and every
entry against its CRC; it was fuzzed, and stressed with 350,000 damaged
archives (none slower than 30 ms).  The test archives were made by the
real programs (arc 5.21q, ARJ32 3.10, jlha), and what is written here
passes their own tests.

Bundles from links are tossed whatever their format (known by their
first bytes, not their names); packer = arc, arj or lha bundles in those
(stored).  A test packs packets with the real programs, compressing,
where they are installed.  The file base lists and takes FILE_ID.DIZ
from ARC, ARJ and LHA archives too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-13 22:47:57 +00:00