Skip to main content

Module filter

Module filter 

Source
Expand description

Path filtering with include/exclude glob patterns. Path filtering with include/exclude patterns.

Structs§

FilterRules
Compiled filter rules for include/exclude matching.

Functions§

read_patterns
Read patterns from a file, one per line. Empty lines and lines starting with ‘#’ are ignored.
split_paths
Split positional args into (sources, destination). Last arg is always the destination. Requires at least 2 args.