Working draft

Rust tar-codec, as in uv

Version
tar-codec 0.0.15, with the policies of uv 0.13

This implementation follows the default policy in 65 of 78 cases:

The default policy is a working draft. Where an implementation does not do as it says, that can be a choice rather than a bug.

On the other 13, it does not:

!Accepts cases to reject (13)

casewhat it iswhat it makes of it
F07 end-archive-afterAnother archive after the end-of-archive marker.extracts a (2 B, 87428fc5)
F26 pax-size-leading-zeroA pax size with a leading zero, 0777: 777 in decimal, as POSIX says, or 511 in octal.extracts a (777 B, b09d2516)
F28 pax-newline-in-commentA newline in a pax comment, which split on lines leaves a size record.extracts a (0 B, e3b0c442), smuggled (0 B, e3b0c442)
F34 size-on-hardlinkA size in the header of a hard link, in a pax archive, which takes the next header for its data.extracts a (512 B, 917dba8e), h (512 B, 917dba8e)
F35 pax-size-on-hardlinkA pax size on a hard link, which takes the next header for its data.extracts a (512 B, 917dba8e), h (512 B, 917dba8e)
N10 format-starA ustar prefix whose end reads as star's times, with star's tar\0 at offset 508.extracts ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp15000000000 15000000000 /, ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp15000000000 15000000000 /a (2 B, 87428fc5)
N11 gnu-prefix-fieldThe prefix field of a header with GNU magic, which GNU tar uses for times in incremental archives.extracts a (2 B, 87428fc5)
N14 name-bytes-after-nulBytes after the NUL that ends a name.extracts a (10 B, ef476e8d)
K02 linkname-on-fileA regular file with a link target.extracts a (19 B, bc345849)
S07 tree-duplicate-file-differsThe same file twice, with different contents: the first copy, or the last?extracts a (5 B, 761d1fb1)
S08 tree-duplicate-file-dirA file, then a directory of the same name.extracts a/
S09 tree-duplicate-file-identicalThe same file twice, with the same contents.extracts a (5 B, a6328afc)
S10 tree-symlink-then-fileA symlink, then a file of the same name: replace the link, or write through it?extracts a (28 B, d5a04bbb)