diff options
Diffstat (limited to 'internal/rosa/all.go')
| -rw-r--r-- | internal/rosa/all.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index 28a0ac96..8b2aec14 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -120,8 +120,8 @@ const ( Zlib Zstd - // _presetUnexportedStart is the first unexported preset. - _presetUnexportedStart + // PresetUnexportedStart is the first unexported preset. + PresetUnexportedStart buildcatrust = iota - 1 utilMacros @@ -137,8 +137,8 @@ const ( // part of the [Std] toolchain. Stage0 - // _presetEnd is the total number of presets and does not denote a preset. - _presetEnd + // PresetEnd is the total number of presets and does not denote a preset. + PresetEnd ) // Metadata is stage-agnostic information of a [PArtifact] not directly @@ -159,7 +159,7 @@ const Unversioned = "\x00" var ( // artifactsM is an array of [PArtifact] metadata. - artifactsM [_presetEnd]Metadata + artifactsM [PresetEnd]Metadata // artifacts stores the result of Metadata.f. artifacts [_toolchainEnd][len(artifactsM)]pkg.Artifact @@ -190,7 +190,7 @@ func (t Toolchain) Version(p PArtifact) string { // ResolveName returns a [PArtifact] by name. func ResolveName(name string) (p PArtifact, ok bool) { - for i := range _presetUnexportedStart { + for i := range PresetUnexportedStart { if name == artifactsM[i].Name { return i, true } |
