aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-05 01:05:27 +0900
committerOphestra <cat@gensokyo.uk>2026-01-05 01:39:18 +0900
commitf3aa31e401e58ea20aa0c0fd09b55f237bbfb54a (patch)
tree364b0e0400b8299e7c7b7a9dc1179539197717c2 /internal/pkg/tar.go
parent4da26681b58fb3afa9c2a297f159e6b325910e2d (diff)
internal/pkg: temporary scratch space for cure
This allows for more flexibility during implementation. The use case that required this was for expanding single directory tarballs. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index 24411c50..ac36cf98 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -69,7 +69,7 @@ func (e DisallowedTypeflagError) Error() string {
}
// Cure cures the [Artifact], producing a directory located at work.
-func (a *tarArtifact) Cure(work *check.Absolute, loadData CacheDataFunc) (err error) {
+func (a *tarArtifact) Cure(work, temp *check.Absolute, loadData CacheDataFunc) (err error) {
var tr io.ReadCloser
{