Expand description
Wax provides opinionated and portable globs that can be matched against file paths and directory trees. Globs use a familiar syntax and support expressive features with semantics that emphasize component boundaries.
See the repository documentation for details about glob expressions and patterns.
Modules
- Re-exports of commonly used items.
- walk
walk
Traversal and matching of files and directory trees.
Structs
- Combinator that matches any of its component
Program
s. - Describes errors that occur when building a
Program
from a glob expression. - Path that can be matched against a
Program
. - Token that captures matched text in a glob expression.
- Program that can be matched against paths and directory trees.
- Text that has been matched by a
Program
and its captures.
Enums
Traits
- Error associated with a
Span
within a glob expression. - A representation of a glob expression.
- A compiled glob expression that can be inspected and matched against paths.
Functions
- Constructs a combinator that matches if any of its input
Pattern
s match. - Escapes text as a literal glob expression.
- Returns
true
if the given character is a contextual meta-character. - Returns
true
if the given character is a meta-character.
Type Aliases
- Location and length of a token within a glob expression.