]> Cypherpunks repositories - gostls13.git/commit
archive/tar: Make Reader and Writer more closely follow io.Reader and io.Writer inter...
authorEvan Shaw <chickencha@gmail.com>
Fri, 20 Nov 2009 04:43:30 +0000 (20:43 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 20 Nov 2009 04:43:30 +0000 (20:43 -0800)
commit4db3a166b2ac52590dd7201221cc90ae3f2213e6
tree66cb039e0c9b1191de7ea02fefed66c8e70d01f8
parentec309321240b58c0c83c54aba85925e4c754fda2
archive/tar: Make Reader and Writer more closely follow io.Reader and io.Writer interfaces

There's no functional change here. io gives the Read and Write methods byte slice arguments, but tar called them uint8. It's the same thing, but I think this is clearer and it matches what other packages do.

R=rsc
CC=golang-dev
https://golang.org/cl/157099
src/pkg/archive/tar/reader.go
src/pkg/archive/tar/writer.go