forked from security/hakurei
internal/pkg: implement file artifact
This is an Artifact implementing File, backed by a constant, caller-supplied byte slice. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user