mirror of
https://github.com/containers/skopeo.git
synced 2025-09-26 20:53:16 +00:00
fix(deps): update module github.com/containers/storage to v1.44.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
This commit is contained in:
2
vendor/github.com/containers/storage/pkg/chrootarchive/archive.go
generated
vendored
2
vendor/github.com/containers/storage/pkg/chrootarchive/archive.go
generated
vendored
@@ -82,7 +82,7 @@ func untarHandler(tarArchive io.Reader, dest string, options *archive.TarOptions
|
||||
}
|
||||
}
|
||||
|
||||
r := io.NopCloser(tarArchive)
|
||||
r := tarArchive
|
||||
if decompress {
|
||||
decompressedArchive, err := archive.DecompressStream(tarArchive)
|
||||
if err != nil {
|
||||
|
6
vendor/github.com/containers/storage/pkg/chrootarchive/archive_darwin.go
generated
vendored
6
vendor/github.com/containers/storage/pkg/chrootarchive/archive_darwin.go
generated
vendored
@@ -6,11 +6,7 @@ import (
|
||||
"github.com/containers/storage/pkg/archive"
|
||||
)
|
||||
|
||||
func chroot(path string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func invokeUnpack(decompressedArchive io.ReadCloser,
|
||||
func invokeUnpack(decompressedArchive io.Reader,
|
||||
dest string,
|
||||
options *archive.TarOptions, root string) error {
|
||||
return archive.Unpack(decompressedArchive, dest, options)
|
||||
|
2
vendor/github.com/containers/storage/pkg/chrootarchive/archive_windows.go
generated
vendored
2
vendor/github.com/containers/storage/pkg/chrootarchive/archive_windows.go
generated
vendored
@@ -12,7 +12,7 @@ func chroot(path string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func invokeUnpack(decompressedArchive io.ReadCloser,
|
||||
func invokeUnpack(decompressedArchive io.Reader,
|
||||
dest string,
|
||||
options *archive.TarOptions, root string) error {
|
||||
// Windows is different to Linux here because Windows does not support
|
||||
|
1
vendor/github.com/containers/storage/pkg/chrootarchive/chroot_unix.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/chrootarchive/chroot_unix.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build !windows && !linux && !darwin
|
||||
// +build !windows,!linux,!darwin
|
||||
|
||||
package chrootarchive
|
||||
|
4
vendor/github.com/containers/storage/pkg/chrootarchive/diff_darwin.go
generated
vendored
4
vendor/github.com/containers/storage/pkg/chrootarchive/diff_darwin.go
generated
vendored
@@ -27,13 +27,13 @@ func applyLayerHandler(dest string, layer io.Reader, options *archive.TarOptions
|
||||
|
||||
tmpDir, err := os.MkdirTemp(os.Getenv("temp"), "temp-storage-extract")
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("ApplyLayer failed to create temp-storage-extract under %s. %s", dest, err)
|
||||
return 0, fmt.Errorf("ApplyLayer failed to create temp-storage-extract under %s: %w", dest, err)
|
||||
}
|
||||
|
||||
s, err := archive.UnpackLayer(dest, layer, options)
|
||||
os.RemoveAll(tmpDir)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s: %s", layer, dest, err)
|
||||
return 0, fmt.Errorf("ApplyLayer %s failed UnpackLayer to %s: %w", layer, dest, err)
|
||||
}
|
||||
|
||||
return s, nil
|
||||
|
3
vendor/github.com/containers/storage/pkg/chrootarchive/jsoniter.go
generated
vendored
3
vendor/github.com/containers/storage/pkg/chrootarchive/jsoniter.go
generated
vendored
@@ -1,3 +1,6 @@
|
||||
//go:build !windows && !darwin
|
||||
// +build !windows,!darwin
|
||||
|
||||
package chrootarchive
|
||||
|
||||
import jsoniter "github.com/json-iterator/go"
|
||||
|
Reference in New Issue
Block a user