tardiff-0.1.0 is not a library.
tardiff
tardiff compares two tar archives, including compressed tar files, and shows
how their entries differ.
Installation
From a local checkout:
Usage
All options:
Compare two tar archives by entry name, size, and checksum
Usage: tardiff [OPTIONS] <LEFT> <RIGHT>
Arguments:
<LEFT> Left-hand archive path
<RIGHT> Right-hand archive path
Options:
-q, --quiet Suppress progress and diff output. Exit status still indicates equality
-c, --compact Use the compact rendering for the selected output mode
-s, --spacious Use the spacious rendering for the selected output mode
-t, --table Render differences as a table
-l, --list Render differences as a single unaligned line per entry
-h, --help Print help
Examples:
Screenshot

Exit Codes
0: archives are equal1: archives differ2: application error
Example Archives
This repo includes a generator for sample archives that exercise the major diff paths:
That writes:
examples/left.tarexamples/right.tar
Then you can try: