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§
- prelude
- Re-exports of commonly used items.
- query
Programdiagnostics and inspection.- walk
walk - Traversal and matching of files and directory trees.
Structs§
- Any
- Combinator that matches any of its component
Programs. - Build
Error - Describes errors that occur when building a
Programfrom a glob expression. - Candidate
Path - Path that can be matched against a
Program. - Glob
- Program that can be matched against paths and directory trees.
- Matched
Text - Text that has been matched by a
Programand its captures.
Enums§
Traits§
- Pattern
- A representation of a glob expression.
- Program
- A compiled
Patternthat can be inspected and matched against paths.
Functions§
- any
- Constructs a combinator that matches if any of its input
Patterns match. - escape
- Escapes text as a literal glob expression.
- is_
contextual_ meta_ character - Returns
trueif the given character is a contextual meta-character. - is_
meta_ character - Returns
trueif the given character is a meta-character.