github.com/nextlinux/gosbom@v0.81.1-0.20230627115839-1ff50c281391/gosbom/pkg/cataloger/search_config.go (about)

     1  package cataloger
     2  
     3  import "github.com/nextlinux/gosbom/gosbom/source"
     4  
     5  type SearchConfig struct {
     6  	IncludeIndexedArchives   bool
     7  	IncludeUnindexedArchives bool
     8  	Scope                    source.Scope
     9  }
    10  
    11  func DefaultSearchConfig() SearchConfig {
    12  	return SearchConfig{
    13  		IncludeIndexedArchives:   true,
    14  		IncludeUnindexedArchives: false,
    15  		Scope:                    source.SquashedScope,
    16  	}
    17  }