Files
syft/syft/source/exclude.go
T
4b8a3db5f3 Add nested archive cataloging (#5260)
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>
2026-10-29 17:33:07 -04:00

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
}