Clarify source version evidence names
This commit is contained in:
10
records.go
10
records.go
@@ -206,12 +206,12 @@ type SourceInfo struct {
|
||||
Kind SourceKind
|
||||
UnderlayIndex int
|
||||
ImportedFrom *Location
|
||||
// VersionCheck is sanitized evidence for source-local declaration processing
|
||||
// VersionEvidence is sanitized evidence for source-local declaration processing
|
||||
// in an enabled source-version load. It is nil when that processing did not
|
||||
// occur, including default mode and synthetic CLI sources. During callbacks
|
||||
// occur, including MainOnly mode and synthetic CLI sources. During callbacks
|
||||
// and failed loads, text is conservatively withheld; successful final source
|
||||
// records reflect completed sensitivity classification.
|
||||
VersionCheck *SourceVersionCheck
|
||||
VersionEvidence *SourceVersionEvidence
|
||||
// ImportSelections records completed optional declarations that selected no
|
||||
// sources, in declaration order. Paths are local to this declaring source.
|
||||
// Each record identifies the declaration mapping, selector, and empty outcome;
|
||||
@@ -250,14 +250,14 @@ type ImportSelection struct {
|
||||
Outcome ImportSelectionOutcome
|
||||
}
|
||||
|
||||
// SourceVersionCheck describes a source-local version declaration observed
|
||||
// SourceVersionEvidence describes a source-local version declaration observed
|
||||
// during an enabled load. A non-nil record with Present false records observed
|
||||
// absence, but does not imply that a checker ran or accepted a value. Text is
|
||||
// empty when sensitivity classification or conservative callback-time/failed-
|
||||
// load redaction withholds it; Present and Null retain their meaning. Copies
|
||||
// returned by source queries are detached. See docs/config.md for disclosure
|
||||
// and lifecycle details.
|
||||
type SourceVersionCheck struct {
|
||||
type SourceVersionEvidence struct {
|
||||
Path Path
|
||||
Version Version
|
||||
Location *Location
|
||||
|
||||
Reference in New Issue
Block a user