Documentation
¶
Overview ¶
Package sourceignore builds Flux artifact-exclusion policy from in-tree .sourceignore files and caller-supplied spec.ignore patterns.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher reports whether a path within a source tree is excluded from the artifact and retains the parsed ignore-file content. It is safe for concurrent reads.
func NewFS ¶ added in v0.7.3
NewFS builds Flux policy from a slash-named immutable filesystem. Nil files walks the input; a supplied list MUST contain every relative ignore file. Parent rules MUST precede nested rules, independent of filesystem listing order. Defaults apply only without parsed user patterns; extra patterns have final priority.
func (*Matcher) Evidence ¶ added in v0.7.3
Evidence returns the ordered ignore-file paths and exact content parsed by NewFS.