1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2024-12-18 19:46:29 +00:00
tar-split/archive/tar/testdata
Joe Tsai be9ac88117 archive/tar: convert Reader.Next to be loop based
Motivation for change:
* Recursive logic is hard to follow, since it tends to apply
things in reverse. On the other hand, the tar formats tend to
describe meta headers as affecting the next entry.
* Recursion also applies changes in the wrong order. Two test
files are attached that use multiple headers. The previous Go
behavior differs from what GNU and BSD tar do.

Change-Id: Ic1557256fc1363c5cb26570e5d0b9f65a9e57341
Reviewed-on: https://go-review.googlesource.com/14624
Run-TryBot: Joe Tsai <joetsai@digital-static.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-02-03 06:58:30 -05:00
..
gnu-multi-hdrs.tar archive/tar: convert Reader.Next to be loop based 2016-02-03 06:58:30 -05:00
gnu.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
hardlink.tar archive/tar: fix round-trip attributes 2015-08-21 00:15:22 -04:00
hdr-only.tar archive/tar: make output deterministic 2016-02-02 14:10:11 -05:00
issue10968.tar archive/tar: terminate when reading malformed sparse files 2015-08-21 00:15:22 -04:00
issue11169.tar archive/tar: add missing error checks 2015-08-21 00:15:22 -04:00
neg-size.tar archive/tar: make output deterministic 2016-02-02 14:10:11 -05:00
nil-uid.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
pax-multi-hdrs.tar archive/tar: convert Reader.Next to be loop based 2016-02-03 06:58:30 -05:00
pax-path-hdr.tar archive/tar: move parse/format methods to standalone receiver 2016-02-02 14:32:27 -05:00
pax.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
small.txt archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
small2.txt archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
sparse-formats.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
star.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
ustar-file-reg.tar archive/tar: move parse/format methods to standalone receiver 2016-02-02 14:32:27 -05:00
ustar.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
v7.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
writer-big-long.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
writer-big.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
writer.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00
xattrs.tar archive/tar: adding from go as of a9dddb53f 2015-02-11 14:08:03 +01:00