Skip to content

Commit 08460eb

Browse files
committed
image-layout: fix inconsistent description about external blob store
Following sentences were conflicting: * A blob, referenced with digest `<alg>:<hex>` (per [descriptor](descriptor.md#digests-and-verification)), MUST have its content stored in a file under `blobs/<alg>/<hex>`. * The blobs directory MAY be missing referenced blobs, in which case the missing blobs SHOULD be fulfilled by an external blob store. Signed-off-by: Akihiro Suda <[email protected]>
1 parent a82c098 commit 08460eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

image-layout.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ afff3924849e458c5ef237db5f89539274d5e609db5db935ed3959c90f1f2d51 ./blobs/sha256/
5353
## Blobs
5454

5555
* Object names in the `blobs` subdirectories are composed of a directory for each hash algorithm, the children of which will contain the actual content.
56-
* A blob, referenced with digest `<alg>:<hex>` (per [descriptor](descriptor.md#digests-and-verification)), MUST have its content stored in a file under `blobs/<alg>/<hex>`.
57-
* The character set of the entry name for `<hex>` and `<alg>` MUST match the respective grammar elements described in [descriptor](descriptor.md#digests-and-verification).
58-
* For example `sha256:5b` will map to the layout `blobs/sha256/5b`.
56+
* The content of `blobs/<alg>/<encoded>` MUST match the digest `<alg>:<encoded>` (referenced per [descriptor](descriptor.md#digests-and-verification)). For example, the content of `blobs/sha256/5b` MUST match the digest `sha256:5b`.
57+
* The character set of the entry name for `<hex>` and `<encoded>` MUST match the respective grammar elements described in [descriptor](descriptor.md#digests-and-verification).
5958
* The blobs directory MAY contain blobs which are not referenced by any of the [refs](#indexjson-file).
6059
* The blobs directory MAY be missing referenced blobs, in which case the missing blobs SHOULD be fulfilled by an external blob store.
6160

0 commit comments

Comments
 (0)