Skip to content

Commit

Permalink
Merge pull request #1071 from sparr/path_constants
Browse files Browse the repository at this point in the history
Add constants for "index.json" and "blobs" alongside "oci-layout" as parts of the layout specification
  • Loading branch information
tianon authored Jun 23, 2023
2 parents 7f43cb4 + 73f386c commit b5ec432
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion specs-go/v1/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@
package v1

const (
// ImageLayoutFile is the file name of oci image layout file
// ImageLayoutFile is the file name containing ImageLayout in an OCI Image Layout
ImageLayoutFile = "oci-layout"
// ImageLayoutVersion is the version of ImageLayout
ImageLayoutVersion = "1.0.0"
// ImageIndexFile is the file name of the entry point for references and descriptors in an OCI Image Layout
ImageIndexFile = "index.json"
// ImageBlobsDir is the directory name containing content addressable blobs in an OCI Image Layout
ImageBlobsDir = "blobs"
)

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

0 comments on commit b5ec432

Please sign in to comment.