We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ccc18a commit f089ceeCopy full SHA for f089cee
specs-go/v1/descriptor.go
@@ -14,13 +14,15 @@
14
15
package v1
16
17
+import digest "github.com/opencontainers/go-digest"
18
+
19
// Descriptor describes the disposition of targeted content.
20
type Descriptor struct {
21
// MediaType contains the MIME type of the referenced object.
22
MediaType string `json:"mediaType"`
23
24
// Digest is the digest of the targeted content.
- Digest string `json:"digest"`
25
+ Digest digest.Digest `json:"digest"`
26
27
// Size specifies the size in bytes of the blob.
28
Size int64 `json:"size"`
0 commit comments