mirror of
https://github.com/anchore/syft.git
synced 2026-10-31 14:36:33 +01:00
Signed-off-by: Kudryavcev Nikolay <kydry.nikolau@gmail.com> Signed-off-by: Thomas Bechtold <thomasbechtold@jpberlin.de> Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> Signed-off-by: Keith Zantow <kzantow@gmail.com> Co-authored-by: Kudryavcev Nikolay <kydry.nikolau@gmail.com> Co-authored-by: Thomas Bechtold <thomasbechtold@jpberlin.de> Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
12 lines
296 B
Go
12 lines
296 B
Go
package source
|
|
|
|
type ExcludeConfig struct {
|
|
Paths []string
|
|
}
|
|
|
|
// PathExcluder is implemented by a source configured with path exclusion patterns, so the archive
|
|
// cataloger can apply the same exclusions inside the archives it extracts.
|
|
type PathExcluder interface {
|
|
ExcludedPaths() []string
|
|
}
|