Skip to content

Commit b5ec432

Browse files
authored
Merge pull request #1071 from sparr/path_constants
Add constants for "index.json" and "blobs" alongside "oci-layout" as parts of the layout specification
2 parents 7f43cb4 + 73f386c commit b5ec432

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

specs-go/v1/layout.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@
1515
package v1
1616

1717
const (
18-
// ImageLayoutFile is the file name of oci image layout file
18+
// ImageLayoutFile is the file name containing ImageLayout in an OCI Image Layout
1919
ImageLayoutFile = "oci-layout"
2020
// ImageLayoutVersion is the version of ImageLayout
2121
ImageLayoutVersion = "1.0.0"
22+
// ImageIndexFile is the file name of the entry point for references and descriptors in an OCI Image Layout
23+
ImageIndexFile = "index.json"
24+
// ImageBlobsDir is the directory name containing content addressable blobs in an OCI Image Layout
25+
ImageBlobsDir = "blobs"
2226
)
2327

2428
// ImageLayout is the structure in the "oci-layout" file, found in the root

0 commit comments

Comments
 (0)