diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 13:26:40 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 13:26:40 -0400 |
commit | 372829972bc793507488bb9c9628017bd8963d25 (patch) | |
tree | f4055fa22bd1a0e285cb0602feb69f9297eaaec5 /vendor/github.com/opencontainers/go-digest/doc.go | |
parent | 6c8ce3eff60d0e220d3ca04706d9d05b3887b5ed (diff) | |
download | podman-372829972bc793507488bb9c9628017bd8963d25.tar.gz podman-372829972bc793507488bb9c9628017bd8963d25.tar.bz2 podman-372829972bc793507488bb9c9628017bd8963d25.zip |
Bump github.com/opencontainers/go-digest from 1.0.0-rc1 to 1.0.0
Bumps [github.com/opencontainers/go-digest](https://github.com/opencontainers/go-digest) from 1.0.0-rc1 to 1.0.0.
- [Release notes](https://github.com/opencontainers/go-digest/releases)
- [Commits](https://github.com/opencontainers/go-digest/compare/v1.0.0-rc1...v1.0.0)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/opencontainers/go-digest/doc.go')
-rw-r--r-- | vendor/github.com/opencontainers/go-digest/doc.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/vendor/github.com/opencontainers/go-digest/doc.go b/vendor/github.com/opencontainers/go-digest/doc.go index 491ea1ef1..83d3a936c 100644 --- a/vendor/github.com/opencontainers/go-digest/doc.go +++ b/vendor/github.com/opencontainers/go-digest/doc.go @@ -1,3 +1,4 @@ +// Copyright 2019, 2020 OCI Contributors // Copyright 2017 Docker, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,8 +30,13 @@ // // sha256:7173b809ca12ec5dee4506cd86be934c4596dd234ee82c0662eac04a8c2c71dc // -// In this case, the string "sha256" is the algorithm and the hex bytes are -// the "digest". +// The "algorithm" portion defines both the hashing algorithm used to calculate +// the digest and the encoding of the resulting digest, which defaults to "hex" +// if not otherwise specified. Currently, all supported algorithms have their +// digests encoded in hex strings. +// +// In the example above, the string "sha256" is the algorithm and the hex bytes +// are the "digest". // // Because the Digest type is simply a string, once a valid Digest is // obtained, comparisons are cheap, quick and simple to express with the |