allow Repository.BlobStore to enumerate over blobs

Signed-off-by: Guillaume Rose <guillaume.rose@docker.com>
master
Manish Tomar 2018-11-01 18:24:36 -07:00 committed by Guillaume Rose
parent cf77113795
commit fa7d949408
1 changed files with 1 additions and 0 deletions

View File

@ -330,6 +330,7 @@ func (repo *repository) Blobs(ctx context.Context) distribution.BlobStore {
// TODO(stevvooe): linkPath limits this blob store to only layers.
// This instance cannot be used for manifest checks.
linkPathFns: []linkPathFunc{blobLinkPath},
linkDirectoryPathSpec: layersPathSpec,
deleteEnabled: repo.registry.deleteEnabled,
resumableDigestEnabled: repo.resumableDigestEnabled,
}