Project incoming source destinations through tier operations

This commit is contained in:
2026-10-24 00:05:24 +00:00
parent a035df9845
commit f7624ae92a
6 changed files with 180 additions and 10 deletions

View File

@@ -53,6 +53,13 @@ type sourceVersionState struct {
diagnostics []Diagnostic
}
func (state *sourceVersionState) evidenceSince(start int) []*sourceVersionEvidence {
if state == nil {
return nil
}
return state.evidence[start:]
}
func sourceInfosWithVersionEvidence(sources []SourceInfo, evidence []*sourceVersionEvidence, secrets map[string]bool, conservative bool) []SourceInfo {
result := cloneSourceInfos(sources)
if len(evidence) == 0 {