Skip to content

Commit 3f0a42e

Browse files
committed
vendor: github.com/moby/go-archive v0.1.0
full diff: moby/go-archive@21f3f33...v0.1.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 7fbda52 commit 3f0a42e

24 files changed

+579
-474
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ require (
4848
github.com/klauspost/compress v1.18.0
4949
github.com/mitchellh/hashstructure/v2 v2.0.2
5050
github.com/moby/docker-image-spec v1.3.1
51-
github.com/moby/go-archive v0.0.0-20250404171912-21f3f3385ab7
51+
github.com/moby/go-archive v0.1.0
5252
github.com/moby/locker v1.0.1
5353
github.com/moby/patternmatcher v0.6.0
5454
github.com/moby/sys/mountinfo v0.7.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/z
274274
github.com/mndrix/tap-go v0.0.0-20171203230836-629fa407e90b/go.mod h1:pzzDgJWZ34fGzaAZGFW22KVZDfyrYW+QABMrWnJBnSs=
275275
github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
276276
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
277-
github.com/moby/go-archive v0.0.0-20250404171912-21f3f3385ab7 h1:CWAY9uG9JhmLmnM7T64+bV0C9IraDrvxEwXq1HJ7hhk=
278-
github.com/moby/go-archive v0.0.0-20250404171912-21f3f3385ab7/go.mod h1:G9B+YoujNohJmrIYFBpSd54GTUB4lt9S+xVQvsJyFuo=
277+
github.com/moby/go-archive v0.1.0 h1:Kk/5rdW/g+H8NHdJW2gsXyZ7UnzvJNOy6VKJqueWdcQ=
278+
github.com/moby/go-archive v0.1.0/go.mod h1:G9B+YoujNohJmrIYFBpSd54GTUB4lt9S+xVQvsJyFuo=
279279
github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg=
280280
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
281281
github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=

solver/llbsolver/file/unpack.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import (
66
"time"
77

88
"github.com/containerd/continuity/fs"
9-
archive "github.com/moby/go-archive"
9+
"github.com/moby/go-archive"
1010
"github.com/moby/go-archive/chrootarchive"
11+
"github.com/moby/go-archive/compression"
1112
"github.com/moby/sys/user"
1213
copy "github.com/tonistiigi/fsutil/copy"
1314
)
@@ -57,7 +58,7 @@ func isArchivePath(path string) bool {
5758
return false
5859
}
5960
defer file.Close()
60-
rdr, err := archive.DecompressStream(file)
61+
rdr, err := compression.DecompressStream(file)
6162
if err != nil {
6263
return false
6364
}

vendor/github.com/moby/go-archive/.gitattributes

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/go-archive/.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/moby/go-archive/.golangci.yml

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)