internal/pkg: temporary scratch space for cure
All checks were successful
Test / Create distribution (push) Successful in 44s
Test / Sandbox (push) Successful in 2m36s
Test / Hakurei (push) Successful in 3m32s
Test / ShareFS (push) Successful in 3m42s
Test / Hpkg (push) Successful in 4m23s
Test / Sandbox (race detector) (push) Successful in 4m53s
Test / Hakurei (race detector) (push) Successful in 5m51s
Test / Flake checks (push) Successful in 1m42s

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>
This commit is contained in:
2026-01-05 01:05:27 +09:00
parent 4da26681b5
commit 72144a8af7
4 changed files with 55 additions and 37 deletions

View File

@@ -101,7 +101,7 @@ func (a *httpArtifact) do() (data []byte, err error) {
}
// Cure returns syscall.ENOTSUP. Callers should use Data instead.
func (a *httpArtifact) Cure(*check.Absolute, CacheDataFunc) error {
func (a *httpArtifact) Cure(*check.Absolute, *check.Absolute, CacheDataFunc) error {
return syscall.ENOTSUP
}