diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-12-01 11:21:20 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-12-01 11:21:20 +0800 |
| commit | 8ad597222a3f768b5ba3e260dd896ea64a0bf70a (patch) | |
| tree | 1614a9cb1373f8fb99819b763722274d8e0cfc06 /Cargo.toml | |
| parent | 380501cb3b69bc540953d671142a50de9cb62b51 (diff) | |
Add glob pattern matching utility
This implements a Globber struct that can match files and directories
using wildcard patterns (* and ?). It supports relative paths, home
directory expansion with ~, and cross-platform path separators.
The implementation includes pattern matching with backtracking for
complex patterns and handles different directory prefixes (current, user
home, and root).
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -59,5 +59,6 @@ rust-i18n = "3" # Regex regex = "1.12.1" -# File +# File & Directory walkdir = "2.5.0" +dirs = "6.0.0" |
