blob: 45a7a0c1501c7de32a6b1e54be8b3376ac8fad65 [file] [log] [blame]
// +build !windows
package distribution
import (
"github.com/docker/distribution"
"github.com/docker/distribution/context"
)
func (ld *v2LayerDescriptor) open(ctx context.Context) (distribution.ReadSeekCloser, error) {
blobs := ld.repo.Blobs(ctx)
return blobs.Open(ctx, ld.digest)
}