mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
11 lines
271 B
Go
11 lines
271 B
Go
package common
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/anchore/imgbom/imgbom/pkg"
|
|
)
|
|
|
|
// ParserFn standardizes a function signature for parser functions that accept file contents and return any discovered packages from that file
|
|
type ParserFn func(io.Reader) ([]pkg.Package, error)
|