]> Cypherpunks repositories - gostls13.git/commit
archive/tar: move parse/format functionality into strconv.go
authorJoe Tsai <joetsai@digital-static.net>
Sat, 3 Sep 2016 03:15:12 +0000 (20:15 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 29 Sep 2016 18:38:28 +0000 (18:38 +0000)
commit6fea452e38012e167e8a8f08f571e0240b248c97
treef96ca3c3b37c5702d833cf7f0bb00cc2d7384b4f
parenta09e1de0ea7fdc30f3761d12fe52248946c08205
archive/tar: move parse/format functionality into strconv.go

Move all parse/format related functionality into strconv.go
and thoroughly test them. This also reduces the amount of noise
inside reader.go and writer.go.

There was zero functionality change other than moving code around.

Change-Id: I3bc288d10c20ebb3814b30b75d8acd7be62b85d7
Reviewed-on: https://go-review.googlesource.com/28470
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/tar/common.go
src/archive/tar/reader.go
src/archive/tar/reader_test.go
src/archive/tar/strconv.go [new file with mode: 0644]
src/archive/tar/strconv_test.go [new file with mode: 0644]
src/archive/tar/writer.go
src/archive/tar/writer_test.go