build a Paths from a Pattern
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 595
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
It seems to be that there is no way to build a Paths from a Pattern,
except by passing the underlying string of the Pattern to glob, which means reparsing it.
It would be nice if Patterns had a method (named paths ?) that produced a Paths,
such that glob::glob(txt)? would be a shortcut for glob::Pattern::new(txt).paths().
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing Pattern, Paths, and glob entry points to understand how patterns and path iteration are currently constructed. Add the requested Pattern-to-Paths convenience API so the glob shortcut can reuse the parsed Pattern, and verify that it avoids reparsing the underlying string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100