AR: thin archive support with external file references #144

Closed
opened 2026-04-09 16:59:38 +00:00 by fuzzy · 1 comment
Owner
No description provided.
fuzzy self-assigned this 2026-04-09 16:59:38 +00:00
Author
Owner

Implemented AR thin archive support with external file references.

Features added:

  1. Thin archive writer (--thin flag) that writes external file references for regular files (data stored as path to original file) while still storing symlink targets inline.

  2. Format detection: FormatARThin registered separately; reader auto‑detects thin magic !<thin>\n.

  3. CLI integration: reptar -c --format ar --thin creates thin archives; reptar -t -f archive.thin lists them correctly.

  4. BSD long filename handling and directory entries fixed (see #196).

  5. Metadata handling respects --no‑internal‑meta flag.

All unit tests pass, including new tests for BSD long filenames and directory entries in thin archives.

This completes AR thin archive support as part of Phase 7.

Implemented AR thin archive support with external file references. **Features added:** 1. Thin archive writer (`--thin` flag) that writes external file references for regular files (data stored as path to original file) while still storing symlink targets inline. 2. Format detection: `FormatARThin` registered separately; reader auto‑detects thin magic `!<thin>\n`. 3. CLI integration: `reptar -c --format ar --thin` creates thin archives; `reptar -t -f archive.thin` lists them correctly. 4. BSD long filename handling and directory entries fixed (see #196). 5. Metadata handling respects `--no‑internal‑meta` flag. All unit tests pass, including new tests for BSD long filenames and directory entries in thin archives. This completes AR thin archive support as part of Phase 7.
fuzzy closed this issue 2026-04-12 04:38:09 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thwap/manta-archiver#144
No description provided.