Documentation ¶
Index ¶
Constants ¶
View Source
const ( FixState = "fix-state" PathPrefix = "path-prefix" Severity = "severity" Codeowners = "codeowners" )
Filter Flags enums for the CLI and config keys
View Source
const FilterSeparator = ","
FilterSeparator is the separator used to split filter values
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filters ¶
Filters holds all the filters to apply in a Filter() call to a given document.
- Severity will filter by the value (Critical, Low, ...)
- FixState will filter by the value (unknown, fixed, not-fixed)
- PathPrefix will filter by whether or not the path starts with the given fragment (could be exenteded with a glob based path filter)
- Codeowners will filter by the codeowners that match a given path
Click to show internal directories.
Click to hide internal directories.