logo

Crate wax

source · []
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 Patterns.

Describes errors that occur when building a Pattern from a glob expression.

Path that can be matched against a Pattern.

CapturingTokendiagnostics-inspect

Token that captures matched text in a glob expression.

Iterator adaptor that filters WalkEntrys and determines 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.

Negated Globs and their associated FilterTargets.

Iterator over files matching a Glob in a directory tree.

Configuration for matching Globs against directory trees.

Describes a file matching a Glob in a directory tree.

Describes errors that occur when matching a Glob against a directory tree.

Enums

Describes how files are read and discarded by FilterTree.

General errors concerning Patterns.

Configuration for interpreting symbolic links.

Variancediagnostics-inspect

Variance of a Pattern.

Traits

DiagnosticResultExtdiagnostics-report

Extension methods for Results with diagnostics.

Extension methods for Iterators concerning Globs and directory traversals.

A representation of a glob expression that can be matched against paths.

Functions

Combinator that emits a Pattern that matches if any of its input Patterns match.

Escapes text as a literal glob expression.

Returns true if the given character is a contextual meta-character.

Returns true if a path matches a glob expression.

Returns true if the given character is a meta-character.

Gets text in a CandidatePath that matches a glob expression.

Gets an iterator over matching files in a directory tree.

Gets an iterator over matching files in a directory tree.

Type Definitions

DiagnosticResultdiagnostics-report

Result that includes Diagnostics on both success and failure.

Spandiagnostics-inspect

Location and length of a token within a glob expression.