From 3a21ba1bcadd33a32a011329362d901374716626 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 7 Jan 2026 00:39:29 +0900 Subject: internal/pkg: implement file artifact This is an Artifact implementing File, backed by a constant, caller-supplied byte slice. Signed-off-by: Ophestra --- internal/pkg/pkg.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pkg/pkg.go') diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go index 423aea12..93677db3 100644 --- a/internal/pkg/pkg.go +++ b/internal/pkg/pkg.go @@ -188,6 +188,8 @@ const ( // KindExecNet is the kind of [Artifact] returned by [NewExec] but with a // non-nil checksum. KindExecNet + // KindFile is the kind of [Artifact] returned by [NewFile]. + KindFile ) // Ident returns a deterministic identifier for the supplied params and -- cgit v1.3.1