]> Cypherpunks repositories - gostls13.git/commit
archive/tar: simplify bytediff logic
authorJoe Tsai <joetsai@digital-static.net>
Fri, 18 Sep 2015 21:30:15 +0000 (14:30 -0700)
committerJoe Tsai <thebrokentoaster@gmail.com>
Fri, 11 Aug 2017 03:12:02 +0000 (03:12 +0000)
commite17405d7544d35cf87694f2abff36a2a906bd9d1
tree08e9f2db752474bf2d2a99c362fb8b06de6cc7fd
parent01e45c736882754ca785b5a802ec0866a6544f8b
archive/tar: simplify bytediff logic

The encoding/hex package provides a nice Dump formatter that
prints both hex and ASCII. Use that instead for better visual
debugging of binary diffs.

Change-Id: Iad1084e8e52d7d523595e97ae20912657cea2ab5
Reviewed-on: https://go-review.googlesource.com/14729
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/archive/tar/writer_test.go