]> Cypherpunks repositories - gostls13.git/commit
archive/tar: add support for GNU sparse files.
authorDavid Thomas <davidthomas426@gmail.com>
Thu, 3 Apr 2014 20:01:04 +0000 (20:01 +0000)
committerRuss Cox <rsc@golang.org>
Thu, 3 Apr 2014 20:01:04 +0000 (20:01 +0000)
commit730db0affc642530daf9129f4fbc89a4e40f9c95
tree0358989c2d59ffefb7cc893e1b79a90648c4dd63
parentdd9c403402c31498d47fee6f2425706f400bda4a
archive/tar: add support for GNU sparse files.

Supports all the current GNU tar sparse formats, including the
old GNU format and the GNU PAX format versions 0.0, 0.1, and 1.0.
Fixes #3864.

LGTM=rsc
R=golang-codereviews, dave, gobot, dsymonds, rsc
CC=golang-codereviews
https://golang.org/cl/64740043
src/pkg/archive/tar/common.go
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/reader_test.go
src/pkg/archive/tar/testdata/sparse-formats.tar [new file with mode: 0644]