Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build a Paths from a Pattern #148

Open
pchampin opened this issue Dec 9, 2024 · 0 comments
Open

build a Paths from a Pattern #148

pchampin opened this issue Dec 9, 2024 · 0 comments

Comments

@pchampin
Copy link

pchampin commented Dec 9, 2024

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant