Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion image-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ A blob, referenced with digest `<alg>:<hex>` (per [descriptor](descriptor.md#dig
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).
For example `sha256:5b` will map to the layout `blobs/sha256/5b`.

The blobs directory MAY contain blobs which are not referenced by any of the refs.
The blobs directory MAY contain blobs which are not referenced by any of the [refs](#indexjson-file).

The blobs directory MAY be missing referenced blobs, in which case the missing blobs SHOULD be fulfilled by an external blob store.

Expand Down
7 changes: 0 additions & 7 deletions specs-go/v1/layout.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

package v1

import "regexp"

// ImageLayoutVersion is the version of ImageLayout
const ImageLayoutVersion = "1.0.0"

Expand All @@ -24,8 +22,3 @@ const ImageLayoutVersion = "1.0.0"
type ImageLayout struct {
Version string `json:"imageLayoutVersion"`
}

var (
// RefsRegexp matches requirement of image-layout 'refs' charset.
RefsRegexp = regexp.MustCompile(`^[a-zA-Z0-9-._]+$`)
)