diff options
Diffstat (limited to 'internal/pkg')
| -rw-r--r-- | internal/pkg/tar.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go index 32b4b362..1c558d52 100644 --- a/internal/pkg/tar.go +++ b/internal/pkg/tar.go @@ -43,8 +43,7 @@ var _ fmt.Stringer = new(tarArtifactNamed) func (a *tarArtifactNamed) String() string { return a.name + "-unpack" } // NewTar returns a new [Artifact] backed by the supplied [Artifact] and -// compression method. The source [Artifact] must be compatible with -// [TContext.Open]. +// compression method. The source [Artifact] must be a [FileArtifact]. func NewTar(a Artifact, compression uint32) Artifact { ta := tarArtifact{a, compression} if s, ok := a.(fmt.Stringer); ok { |
