mirror of
https://github.com/containers/podman.git
synced 2025-12-01 02:27:13 +08:00
Update c/image after https://github.com/containers/image/pull/2613
This resolves the "signing ambiguity" by requiring that images must have a DiffID entry, and it must match, in partial pulls. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
4
vendor/github.com/vbatts/tar-split/archive/tar/format.go
generated
vendored
4
vendor/github.com/vbatts/tar-split/archive/tar/format.go
generated
vendored
@@ -143,6 +143,10 @@ const (
|
||||
blockSize = 512 // Size of each block in a tar stream
|
||||
nameSize = 100 // Max length of the name field in USTAR format
|
||||
prefixSize = 155 // Max length of the prefix field in USTAR format
|
||||
|
||||
// Max length of a special file (PAX header, GNU long name or link).
|
||||
// This matches the limit used by libarchive.
|
||||
maxSpecialFileSize = 1 << 20
|
||||
)
|
||||
|
||||
// blockPadding computes the number of bytes needed to pad offset up to the
|
||||
|
||||
Reference in New Issue
Block a user