Glob
A compiled glob pattern.
Constructor
Glob pattern
Compiles a glob pattern.
Parameters
| Name | Type | Description |
|---|---|---|
pattern |
Str |
Glob pattern. |
Errors
ValueError if the pattern is invalid.
Example
Methods
matches value -> Bool
Tests whether value matches this glob.
Parameters
| Name | Type | Description |
|---|---|---|
value |
Str |
Candidate string to test. |