aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/file.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-09 05:31:38 +0900
committerOphestra <cat@gensokyo.uk>2026-01-09 05:31:38 +0900
commit34cb4ebd3bc1d7aaa263929c7ae27ac46298b285 (patch)
tree707ad22a4bbd6201c60206ec9451d56625b76939 /internal/pkg/file.go
parentf7124667145d1f7c614d9fc644bc07bb6174454a (diff)
internal/pkg: pass context to file cure
This removes the left over embedded contexts. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/file.go')
-rw-r--r--internal/pkg/file.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/pkg/file.go b/internal/pkg/file.go
index 50a161a4..fdff7351 100644
--- a/internal/pkg/file.go
+++ b/internal/pkg/file.go
@@ -1,6 +1,7 @@
package pkg
import (
+ "context"
"crypto/sha512"
)
@@ -31,4 +32,4 @@ func (a fileArtifact) Checksum() Checksum {
}
// Cure returns the caller-supplied data.
-func (a fileArtifact) Cure() ([]byte, error) { return a, nil }
+func (a fileArtifact) Cure(context.Context) ([]byte, error) { return a, nil }