You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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().
The text was updated successfully, but these errors were encountered:
It seems to be that there is no way to build a
Paths
from aPattern
,except by passing the underlying string of the
Pattern
toglob
, which means reparsing it.It would be nice if
Patterns
had a method (namedpaths
?) that produced aPaths
,such that
glob::glob(txt)?
would be a shortcut forglob::Pattern::new(txt).paths()
.The text was updated successfully, but these errors were encountered: