1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/distribution
Aaron Lehmann 39589800b4 Avoid a HEAD request for each layer in a v2 pull
We were calling Stat for each layer to get the size so we could indicate
progress, but https://github.com/docker/distribution/pull/1226 made it
possible to get the length from the GET request that Open initiates.

Saving one round-trip per layer should make pull operations slightly
faster and more robust.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-12-04 09:32:16 -08:00
..
fixtures/validate_manifest Add distribution package 2015-11-24 09:40:24 -08:00
metadata Add distribution package 2015-11-24 09:40:24 -08:00
pool.go Add distribution package 2015-11-24 09:40:24 -08:00
pool_test.go Add distribution package 2015-11-24 09:40:24 -08:00
pull.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v1.go Validate adding digests to tagstore with go types 2015-11-25 15:06:51 -08:00
pull_v2.go Avoid a HEAD request for each layer in a v2 pull 2015-12-04 09:32:16 -08:00
pull_v2_test.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v2_unix.go Add distribution package 2015-11-24 09:40:24 -08:00
pull_v2_windows.go Add distribution package 2015-11-24 09:40:24 -08:00
push.go Add distribution package 2015-11-24 09:40:24 -08:00
push_v1.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
push_v2.go Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
push_v2_test.go Add distribution package 2015-11-24 09:40:24 -08:00
push_v2_unix.go Add distribution package 2015-11-24 09:40:24 -08:00
push_v2_windows.go Add distribution package 2015-11-24 09:40:24 -08:00
registry.go Add distribution package 2015-11-24 09:40:24 -08:00