Expand description
globreeks is a thing that gets globs and checks if they match.
glob order matters here. out of real examples, one can set the globs to
!**/node_modules/**/build/**
and then
node_modules/@signalapp/better-sqlite3/build/Release/better_sqlite3.node
,
as to make an exception from the previously forbidden pattern.
see Globreeks for the actual implementation.
Structs§
- Candidate
- A candidate path for matching.
- Error
- The
Error
type, a wrapper around a dynamic error type. - Glob
- Glob represents a successfully parsed shell glob pattern.
- Glob
Matcher - A matcher for a single pattern.
- Globreeks
- the thing. create a new one with Globreeks::new. use it with Globreeks::evaluate.
Type Aliases§
- Result
Result<T, Error>