1
0
mirror of https://github.com/distribution/distribution synced 2024-11-12 05:45:51 +01:00
distribution/registry/storage/cache
Stephen J Day 26b7fe4a91 Use "Size" field to describe blobs over "Length"
After consideration, we've changed the main descriptor field name to for number
of bytes to "size" to match convention. While this may be a subjective
argument, commonly we refer to files by their "size" rather than their
"length". This will match other conventions, like `(FileInfo).Size()` and
methods on `io.SizeReaderAt`. Under more broad analysis, this argument doesn't
necessarily hold up. If anything, "size" is shorter than "length".

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-07-17 17:07:11 -07:00
..
memory Decouple redis dependency from blob descriptor cache 2015-05-20 18:58:10 -07:00
redis Use "Size" field to describe blobs over "Length" 2015-07-17 17:07:11 -07:00
cache.go Use "Size" field to describe blobs over "Length" 2015-07-17 17:07:11 -07:00
cachedblobdescriptorstore.go Open cache interface 2015-05-15 17:56:28 -07:00
suite.go Use "Size" field to describe blobs over "Length" 2015-07-17 17:07:11 -07:00