From 409fd3149ea47a465df017a629ce039eb4fc7b5a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 8 Jan 2026 01:21:51 +0900 Subject: [PATCH] internal/pkg: reserve kind range This is useful for custom implementations of Artifact. Signed-off-by: Ophestra --- internal/pkg/pkg.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go index ab1f3e0..f5bd9d3 100644 --- a/internal/pkg/pkg.go +++ b/internal/pkg/pkg.go @@ -191,6 +191,10 @@ const ( KindExecNet // KindFile is the kind of [Artifact] returned by [NewFile]. KindFile + + // KindCustomOffset is the first [Kind] value reserved for implementations + // not from this package. + KindCustomOffset = 1 << 31 ) // Ident returns a deterministic identifier for the supplied params and