From 861801597d800661b26ca03e503cc571537e1304 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 25 Jan 2026 16:07:07 +0900 Subject: internal/pkg: expose response body This uses the new measured reader provided by Cache. This should make httpArtifact zero-copy. Signed-off-by: Ophestra --- internal/pkg/pkg_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/pkg/pkg_test.go') diff --git a/internal/pkg/pkg_test.go b/internal/pkg/pkg_test.go index 903db563..fe618a6a 100644 --- a/internal/pkg/pkg_test.go +++ b/internal/pkg/pkg_test.go @@ -119,7 +119,7 @@ type stubFile struct { stubArtifact } -func (a *stubFile) Cure(context.Context) (io.ReadCloser, error) { +func (a *stubFile) Cure(*pkg.RContext) (io.ReadCloser, error) { return io.NopCloser(bytes.NewReader(a.data)), a.err } -- cgit v1.3.1