]> Cypherpunks repositories - gostls13.git/commit
archive/tar: support extended attributes
authorAlexander Larsson <alexander.larsson@gmail.com>
Thu, 13 Feb 2014 09:08:30 +0000 (20:08 +1100)
committerDavid Symonds <dsymonds@golang.org>
Thu, 13 Feb 2014 09:08:30 +0000 (20:08 +1100)
commit87d58f44a1e53a61c7bd4b11a7f7aa616f6e373d
treee01250f4173b65ac8b22998a16072183c54f224a
parentca6186aa269eebf62d8a89d846a0eed4108e3b66
archive/tar: support extended attributes

This adds support for archives with the SCHILY.xattr field in the
pax header. This is what gnu tar and star generate.
Fixes #7154.

LGTM=dsymonds
R=golang-codereviews, gobot, dsymonds
CC=golang-codereviews
https://golang.org/cl/54570043
src/pkg/archive/tar/common.go
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/reader_test.go
src/pkg/archive/tar/testdata/xattrs.tar [new file with mode: 0644]
src/pkg/archive/tar/writer.go
src/pkg/archive/tar/writer_test.go