Repository navigation
Releases
v1.8.3
Only print file name at root of tree! v1.8.3
In the tree output, the root is printed. However, it was being printed verbatim, as specified from the command line arguments. This looked a bit messy and superfluous, so we remove this from the output in this version.
Full Changelog: v1.8.2...v1.8.3
v1.8.2
Make directory labels dimmed! v1.8.2
Since v1.4.3, we do not compute the hash of directories because it is necessarily an empty byte stream. Instead, we list the contents of the directory (see v1.5.1). When we do find a (potentially empty) directory, it is semantically meaningful to note but it's not the main point of the output (its hash is not computed). So it makes sense to dim this piece of information. This is what we do in the output for this version.
Full Changelog: v1.8.1...v1.8.2
v1.8.1
Made connectors dimmed in tree output! v1.8.1
The standard among other tools that produce tree-like outputs seem to be to dim the connectors (lines) that connect nodes. This is what we implement here (whilst respecting NO_COLOR/NO_COLOUR).
Full Changelog: v1.8.0...v1.8.1
v1.8.0
Allow recursion into nested archives! v1.8.0
Using -rr, we now allow recursion into nested archives.
If -rrr is passed, nested encrypted archives is also supported, but will require passwords for each of them.
Unfortunately, this supports every currently supported archive type except for RAR, due to library limitations.
Alongside v1.4.3, v1.5.1, v1.6.0, and v1.7.0, this closes #8.
This is actually a pretty major refactor under the hood, but doesn't change much for the user/output perspective.
Full Changelog: v1.7.2...v1.8.0
v1.7.2
Migrate 7z library to sevenz-rust2! v1.7.2
7z support for xmemhash was originally added in v1.2.0, in October 2024, using the sevenz-rust library. However, the repository underlying this library has been deleted and the project abandoned. In February 2025, a maintained fork popped up. The API is largely the same, so the switch the a maintained 7z library was trivial.
Full Changelog: v1.7.1...v1.7.2
v1.7.1
Support 7z files whose headers are also encrypted! v1.7.1
I realised that we assume that we can read the 7z file header. However, if you create an encrypted 7z including the header:
7z a -t7z <output> <input> -mhe=on -p<password>
Then xmemhash would fail. We are now more deliberate in checking whether we can decrypt the file before trying to read its contents.
Full Changelog: v1.7.0...v1.7.1
v1.7.0
Add option to print output in tree (--tree)! v1.7.0
Similar to exa/eza, we now support a naïve implementation for printing the contents of the archive in a tree representation, which is more accurate for highly nested archives. This is a feature behind a flag, as it doesn't make sense for all file types (e.g., .gz).
This improves the work already done towards #8
Full Changelog: v1.6.1...v1.7.0
v1.6.1
Refactor enclosed files into internal tree structure! v1.6.1
This is a more accurate structure to represent the contents of the archive, and it will also help if we decide to print into a tree instead of a flat table.
Unfortunately, all the archive libraries present their entries as a flat sequential iterator, and they don't guarantee ordering, so we have to collect them before assembling them into the tree structure once we have all of the information abut the archive. Still, it's a better internal data structure to use, in my opinion.
This is some more work towards satisfying #8
Full Changelog: v1.6.0...v1.6.1
v1.6.0
More explicit support for recursion into subdirectories! v1.6.0
More explicitly support recursion into nested subdirectories by explicitly allowing the user to specify --no-recursion or --recurse (potentially many times).
If the user specifies --recurse more than once, they will be allowed to recurse into nested archives (if they are supported). However, this has not yet been implemented, and is not the default option.
The default is to recurse into subdirectories but treat everything in there as files.
This provides additional work towards better handling of substructures, as per #8
Full Changelog: v1.5.1...v1.6.0
v1.5.1
Print full path to files in output! v1.5.1
Instead of printing whether or not we found a directory (see v1.4.3), we ignore printing directories in favour of printing each leaf (file) with the full path to it relative to the root of the archive.
This partially addresses #8.
In future, I would still like better handling of nested or recursive structures, but for now this is a minimal change that makes the output more accurate.
Full Changelog: v1.5.0...v1.5.1