aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-08 01:21:51 +0900
committerOphestra <cat@gensokyo.uk>2026-01-08 01:21:51 +0900
commit409fd3149ea47a465df017a629ce039eb4fc7b5a (patch)
tree976c8b8b29d3924a5942b213dd5642305cd873a5
parent4eea13630825db4822492648f8c7e0b01cd7a7b0 (diff)
internal/pkg: reserve kind range
This is useful for custom implementations of Artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--internal/pkg/pkg.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/pkg/pkg.go b/internal/pkg/pkg.go
index ab1f3e00..f5bd9d3a 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