github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/cmd/syft/cli/options/file_classification.go (about)

     1  package options
     2  
     3  import (
     4  	"github.com/anchore/syft/syft/source"
     5  )
     6  
     7  type fileClassification struct {
     8  	Cataloger scope `yaml:"cataloger" json:"cataloger" mapstructure:"cataloger"`
     9  }
    10  
    11  func defaultFileClassification() fileClassification {
    12  	return fileClassification{
    13  		Cataloger: scope{
    14  			Scope: source.SquashedScope.String(),
    15  		},
    16  	}
    17  }