docker/pkg/tarsum
Aaron Lehmann 1f61084d83 Fix uses of "int" where "int64" should be used instead
Some structures use int for sizes and UNIX timestamps. On some
platforms, int is 32 bits, so this can lead to the year 2038 issues and
overflows when dealing with large containers or layers.

Consistently use int64 to store sizes and UNIX timestamps in
api/types/types.go. Update related to code accordingly (i.e.
strconv.FormatInt instead of strconv.Itoa).

Use int64 in progressreader package to avoid integer overflow when
dealing with large quantities. Update related code accordingly.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-31 16:31:40 -07:00
..
testdata Remove PortSpecs from Config 2015-05-29 22:38:09 +02:00
builder_context.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
builder_context_test.go Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
fileinfosums.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
fileinfosums_test.go Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
tarsum.go Lint on pkg/* packages 2015-07-27 21:26:21 +02:00
tarsum_spec.md Carry of PR #13520 2015-06-13 09:27:30 -07:00
tarsum_test.go Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
versioning.go Fix uses of "int" where "int64" should be used instead 2015-07-31 16:31:40 -07:00
versioning_test.go Add test coverage for pkg/tarsum 2015-06-02 09:08:01 +02:00
writercloser.go