mirror of
https://github.com/containers/podman.git
synced 2025-10-19 20:23:08 +08:00
vendor latest c/storage
To include the new fileutils.ReflinkOrCopy() function. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
3
vendor/github.com/vbatts/tar-split/archive/tar/writer.go
generated
vendored
3
vendor/github.com/vbatts/tar-split/archive/tar/writer.go
generated
vendored
@ -199,6 +199,9 @@ func (tw *Writer) writePAXHeader(hdr *Header, paxHdrs map[string]string) error {
|
||||
flag = TypeXHeader
|
||||
}
|
||||
data := buf.String()
|
||||
if len(data) > maxSpecialFileSize {
|
||||
return ErrFieldTooLong
|
||||
}
|
||||
if err := tw.writeRawFile(name, data, flag, FormatPAX); err != nil || isGlobal {
|
||||
return err // Global headers return here
|
||||
}
|
||||
|
Reference in New Issue
Block a user