diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-28 11:42:27 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-28 11:42:27 +0800 |
| commit | 160460494f8c56fd42ff9ab96ace74cc4457f479 (patch) | |
| tree | c0434dae5760a4ce0462c89cddf0ca7091fcc971 /arg_picker/src/value.rs | |
| parent | 5229379afe1306c8d6ebea4e84418ba5caa475ae (diff) | |
feat(picker): add filesystem-aware path value types
Add `FilePath`, `NoFilePath`, `DirPath`, `NoDirPath`, `SymlinkPath`,
`NoSymlinkPath`, `NoPath`, and `RecursiveFiles` wrapper types with
filesystem validation at parse time. Each type implements
`SinglePickable`
and provides standard conversions via `From`, `AsRef`, `Deref`, and
`DerefMut`.
Diffstat (limited to 'arg_picker/src/value.rs')
| -rw-r--r-- | arg_picker/src/value.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arg_picker/src/value.rs b/arg_picker/src/value.rs index 995aa00..04d3e01 100644 --- a/arg_picker/src/value.rs +++ b/arg_picker/src/value.rs @@ -1,5 +1,8 @@ mod flag; pub use flag::*; +mod paths; +pub use paths::*; + mod vec_until; pub use vec_until::*; |
