mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
Signed-off-by: Keith Zantow <kzantow@gmail.com> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
18 lines
335 B
Go
18 lines
335 B
Go
package options
|
|
|
|
import (
|
|
"github.com/anchore/syft/syft/source"
|
|
)
|
|
|
|
type fileClassification struct {
|
|
Cataloger scope `yaml:"cataloger" json:"cataloger" mapstructure:"cataloger"`
|
|
}
|
|
|
|
func defaultFileClassification() fileClassification {
|
|
return fileClassification{
|
|
Cataloger: scope{
|
|
Scope: source.SquashedScope.String(),
|
|
},
|
|
}
|
|
}
|