mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 00:46:38 +01:00
use filetree reader instead of filetree
This commit is contained in:
@@ -21,7 +21,7 @@ func (a *Analyzer) Name() string {
|
||||
return "dpkg-analyzer"
|
||||
}
|
||||
|
||||
func (a *Analyzer) SelectFiles(trees []*tree.FileTree) []file.Reference {
|
||||
func (a *Analyzer) SelectFiles(trees []tree.FileTreeReader) []file.Reference {
|
||||
files := make([]file.Reference, 0)
|
||||
for _, tree := range trees {
|
||||
// TODO: extract into function/slice/etc
|
||||
|
||||
Reference in New Issue
Block a user