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.
2 parents fa40b3f + f089cee commit c5d3c7dCopy full SHA for c5d3c7d
specs-go/v1/descriptor.go
@@ -14,14 +14,16 @@
14
15
package v1
16
17
+import digest "github.com/opencontainers/go-digest"
18
+
19
// Descriptor describes the disposition of targeted content.
20
// This structure provides `application/vnd.oci.descriptor.v1+json` mediatype when marshalled to JSON
21
type Descriptor struct {
22
// MediaType is the media type of the object this schema refers to.
23
MediaType string `json:"mediaType,omitempty"`
24
25
// Digest is the digest of the targeted content.
- Digest string `json:"digest"`
26
+ Digest digest.Digest `json:"digest"`
27
28
// Size specifies the size in bytes of the blob.
29
Size int64 `json:"size"`
0 commit comments