mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 00:43:20 +01:00
11 lines
328 B
Go
11 lines
328 B
Go
package common
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/anchore/imgbom/imgbom/pkg"
|
|
)
|
|
|
|
// ParserFn standardizes a function signature for parser functions that accept the virtual file path (not usable for file reads) and contents and return any discovered packages from that file
|
|
type ParserFn func(string, io.Reader) ([]pkg.Package, error)
|