forked from TrueCloudLab/distribution
a0d242d9df
The change relies on a refactor of the upstream resumable sha256/sha512 package that opts to register implementations with the standard library. This allows the resumable support to be detected where it matters, avoiding unnecessary and complex code. It also ensures that consumers of the digest package don't need to depend on the forked sha implementations. We also get an optimization with this change. If the size of data written to a digester is the same as the file size, we check to see if the digest has been verified. This works if the blob is written and committed in a single request. Signed-off-by: Stephen J Day <stephen.day@docker.com> |
||
---|---|---|
.. | ||
cache | ||
driver | ||
blob_test.go | ||
blobcachemetrics.go | ||
blobserver.go | ||
blobstore.go | ||
blobwriter.go | ||
blobwriter_nonresumable.go | ||
blobwriter_resumable.go | ||
doc.go | ||
filereader.go | ||
filereader_test.go | ||
filewriter.go | ||
filewriter_test.go | ||
linkedblobstore.go | ||
manifeststore.go | ||
manifeststore_test.go | ||
paths.go | ||
paths_test.go | ||
purgeuploads.go | ||
purgeuploads_test.go | ||
registry.go | ||
revisionstore.go | ||
signaturestore.go | ||
tagstore.go | ||
util.go | ||
walk.go | ||
walk_test.go |