FetchByDigest fetches the resource identified by the digest. FetcherByDigest usually returns an incomplete descriptor. Typically, the media type is always set to "application/octet-stream", and the annotations are unset.
(ctx context.Context, dgst digest.Digest, opts ...FetchByDigestOpts)
| 74 | // Typically, the media type is always set to "application/octet-stream", |
| 75 | // and the annotations are unset. |
| 76 | FetchByDigest(ctx context.Context, dgst digest.Digest, opts ...FetchByDigestOpts) (io.ReadCloser, ocispec.Descriptor, error) |
| 77 | } |
| 78 | |
| 79 | type ReferrersFetcher interface { |
no outgoing calls