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.
Structs
- Combinator that matches any of its component
Pattern
s. - Describes errors that occur when building a
Pattern
from a glob expression. - Path that can be matched against a
Pattern
. - Token that captures matched text in a glob expression.
- FilterTree
walk
Iterator adaptor that filtersWalkEntry
s and controls the traversal of directory trees. - Pattern that can be matched against paths and directory trees.
- Text that has been matched by a
Pattern
and its captures. - Walk
walk
Iterator over files matching aGlob
in a directory tree. - WalkBehavior
walk
Configuration for matchingGlob
s against directory trees. - WalkEntry
walk
Describes a file matching aGlob
in a directory tree. - WalkError
walk
Describes errors that occur when matching aGlob
against a directory tree. - WalkNegation
walk
Negated combinator that efficiently filtersWalkEntry
s.
Enums
- FilterTarget
walk
Describes how files are read and discarded byFilterTree
. - General errors concerning
Pattern
s. - LinkBehavior
walk
Configuration for interpreting symbolic links. - Variance of a
Pattern
.
Traits
- A glob expression representation that can be incorporated into a combinator.
- FileIterator
walk
- Error associated with a
Span
within 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.