Clarify source version evidence names

This commit is contained in:
2026-10-27 15:01:54 +00:00
parent 7ee9e92ef5
commit 31ae30372e
9 changed files with 62 additions and 62 deletions

View File

@@ -44,10 +44,10 @@ const (
type SourceVersionMode uint8
const (
// SourceVersionModeDefault preserves the existing main-version check and
// SourceVersionModeMainOnly preserves the existing main-version check and
// rejects version-path contributions from imported, underlay, and overlay
// payloads.
SourceVersionModeDefault SourceVersionMode = iota
SourceVersionModeMainOnly SourceVersionMode = iota
// SourceVersionModeIfPresent checks each participating document that has a
// declaration. A missing main declaration still reaches the checker; an
// absent non-main declaration skips it. Accepted non-main declarations are