1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/tarsum
Derek McGowan a422774e59
Fix tarsum for go 1.10
Remove invalid flush commands, flush should only occur when file
has been completely written. This is already handle, remove these calls.
Ensure data gets written after EOF in correct order and before close.
Remove gname and uname from sum for hash compatibility.
Update tarsum tests for gname/uname removal.
Return valid length after eof.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-04-12 13:34:14 -07:00
..
testdata
builder_context.go Add canonical import comment 2018-02-05 16:51:57 -05:00
builder_context_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fileinfosums.go Add canonical import comment 2018-02-05 16:51:57 -05:00
fileinfosums_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
tarsum.go Fix tarsum for go 1.10 2018-04-12 13:34:14 -07:00
tarsum_spec.md fix common misspell 2016-02-11 15:49:36 -08:00
tarsum_test.go Fix tarsum for go 1.10 2018-04-12 13:34:14 -07:00
versioning.go Add canonical import comment 2018-02-05 16:51:57 -05:00
versioning_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
writercloser.go Add canonical import comment 2018-02-05 16:51:57 -05:00