chore: restore cataloger.DefaultConfig (#2028)

Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
Keith Zantow
2023-08-14 20:28:07 +00:00
committed by GitHub
parent b3d7ba569b
commit 59107324ce
3 changed files with 14 additions and 16 deletions
+10
View File
@@ -18,6 +18,16 @@ type Config struct {
ExcludeBinaryOverlapByOwnership bool
}
func DefaultConfig() Config {
return Config{
Search: DefaultSearchConfig(),
Parallelism: 1,
LinuxKernel: kernel.DefaultLinuxCatalogerConfig(),
Python: python.DefaultCatalogerConfig(),
ExcludeBinaryOverlapByOwnership: true,
}
}
func (c Config) Java() java.Config {
return java.Config{
SearchUnindexedArchives: c.Search.IncludeUnindexedArchives,