mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Apply date range filtering to changes.csv
This commit is contained in:
parent
8c53b4068b
commit
7e850f7a2f
1 changed files with 4 additions and 0 deletions
|
|
@ -755,6 +755,10 @@ func (p *processor) checkChanges(base string, mask whereType) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, err
|
return nil, nil, err
|
||||||
}
|
}
|
||||||
|
// Apply date range filtering.
|
||||||
|
if p.ageAccept != nil && !p.ageAccept(t) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
times, files = append(times, t), append(files, csaf.PlainAdvisoryFile(r[1]))
|
times, files = append(times, t), append(files, csaf.PlainAdvisoryFile(r[1]))
|
||||||
}
|
}
|
||||||
return times, files, nil
|
return times, files, nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue