Clarify source version evidence names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user