mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Improve checker regarding ROLIE feed advisory URLs, hashes and signatures
* Add checking the ROLIE feed advisory URLs, hashes and signatures.
This commit is contained in:
parent
86a6f9abde
commit
fa434fa039
2 changed files with 121 additions and 14 deletions
|
|
@ -116,6 +116,13 @@ func (rf *ROLIEFeed) Files(filter string) []string {
|
|||
return files
|
||||
}
|
||||
|
||||
// Entries visits the entries of this feed.
|
||||
func (rf *ROLIEFeed) Entries(fn func(*Entry)) {
|
||||
for _, e := range rf.Feed.Entry {
|
||||
fn(e)
|
||||
}
|
||||
}
|
||||
|
||||
// SortEntriesByUpdated sorts all the entries in the feed
|
||||
// by their update times.
|
||||
func (rf *ROLIEFeed) SortEntriesByUpdated() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue