reference: clarify digest description
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
5f6edd072c
commit
d325c8b1d5
1 changed files with 5 additions and 3 deletions
|
@ -31,9 +31,11 @@ var (
|
||||||
// to map to a physical resource, but it must parse as a hostname. We refer to
|
// to map to a physical resource, but it must parse as a hostname. We refer to
|
||||||
// this as the namespace.
|
// this as the namespace.
|
||||||
//
|
//
|
||||||
// The other component is the digest, which may be a part of the object
|
// The other component made accessible by helper method is the digest. This is
|
||||||
// identifier, always prefixed with an '@'. If present, the remote may use the
|
// part of the object identifier, always prefixed with an '@'. If present, the
|
||||||
// digest portion directly or resolve it against a prefix. If the object
|
// remote may use the digest portion directly or resolve it against a prefix.
|
||||||
|
// If the object does not include the `@` symbol, the return value for `Digest`
|
||||||
|
// will be empty.
|
||||||
type Spec struct {
|
type Spec struct {
|
||||||
// Locator is the host and path portion of the specification. The host
|
// Locator is the host and path portion of the specification. The host
|
||||||
// portion may refer to an actual host or just a namespace of related
|
// portion may refer to an actual host or just a namespace of related
|
||||||
|
|
Loading…
Reference in a new issue