]> Cypherpunks repositories - gostls13.git/commit
archive/tar: move parse/format methods to standalone receiver
authorJoe Tsai <joetsai@digital-static.net>
Mon, 28 Sep 2015 20:49:35 +0000 (13:49 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 2 Dec 2015 00:29:33 +0000 (00:29 +0000)
commit38f8e4407c3626a9509760089b82eecb4d0f2d48
tree546377e739b97476e960605522913e08f63b6059
parenta4f057bcc3d305218e1fe4291f8c86cff55e19ca
archive/tar: move parse/format methods to standalone receiver

Motivations for this change:
* It allows these functions to be used outside of Reader/Writer.
* It allows these functions to be more easily unit tested.

Change-Id: Iebe2b70bdb8744371c9ffa87c24316cbbf025b59
Reviewed-on: https://go-review.googlesource.com/15113
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Joe Tsai <joetsai@digital-static.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/tar/reader.go
src/archive/tar/reader_test.go
src/archive/tar/writer.go
src/archive/tar/writer_test.go