diff options
Diffstat (limited to 'internal/rosa/rosa.go')
| -rw-r--r-- | internal/rosa/rosa.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index 2a7cd777..7b06700c 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -129,6 +129,11 @@ const ( _stageEnd ) +// isRosa returns whether t is derived from a Rosa OS stage0. +func (t Stage) isRosa() bool { + return t >= stageEarly +} + // isStage0 returns whether t is a stage0 toolchain. func (t Stage) isStage0() bool { switch t { |
