diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-08 01:21:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-08 01:21:51 +0900 |
| commit | 409fd3149ea47a465df017a629ce039eb4fc7b5a (patch) | |
| tree | 976c8b8b29d3924a5942b213dd5642305cd873a5 /internal/pkg/pkg.go | |
| parent | 4eea13630825db4822492648f8c7e0b01cd7a7b0 (diff) | |
internal/pkg: reserve kind range
This is useful for custom implementations of Artifact.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/pkg/pkg.go')
| -rw-r--r-- | internal/pkg/pkg.go | 4 |
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 |
