Backends
Archives (zip & tar)
Read-only filesystems over local ZIP and tar archives.
dumont can address the contents of a local archive as a read-only filesystem,
so you can ls, cat, and cp files out of an archive without unpacking it.
ZIP
dumont ls zip://release.zip/
dumont cat zip://release.zip/CHANGELOG.md
dumont cp zip://release.zip/bin/tool /usr/local/bin/tool- Address:
zip://<archive>.zip/<inner-path>. - Read-only; directories are synthesized from entry paths.
tar
dumont ls tar://backup.tar/
dumont cat tar://backup.tar.gz/etc/config.yaml- Address:
tar://<archive>/<inner-path>. - Supports
.tar,.tar.gz, and.tgz. - Read-only; directories are synthesized from entry paths.
Capabilities
| Cap | Value |
|---|---|
| RandomRead | ✅ |
| RandomWrite / Append / Truncate | ❌ (read-only) |
| AtomicRename | ❌ |
| Directories | synthesized |
| MTime | ✅ (from archive entry headers) |
Both backends are built on a shared archivefs helper that presents a flat list
of archive entries as a navigable tree.