distribution/docs/client
Stephen J Day a0d242d9df Remove digest package's dependency on external sha implementation
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>
2015-05-20 23:44:08 -07:00
..
transport Only do auth checks for endpoints starting with v2 2015-05-20 13:35:23 -07:00
blob_writer.go Break down type dependencies 2015-05-19 19:56:27 -07:00
blob_writer_test.go Feedback update 2015-05-19 19:18:30 -07:00
errors.go Remove error message shortening 2015-05-20 14:55:59 -07:00
repository.go Remove digest package's dependency on external sha implementation 2015-05-20 23:44:08 -07:00
repository_test.go Add unauthorized error check 2015-05-20 10:05:44 -07:00