glob icon indicating copy to clipboard operation
glob copied to clipboard

`matches_path` should work on absolute paths

Open milesj opened this issue 3 years ago • 0 comments

Right now this isn't possible:

Pattern::new("file.*").unwrap().matches_path(&PathBuf::from("/root/some/path/file.rs");

And I don't see why it shouldn't be possible, even if behind an option.

milesj avatar Jan 02 '22 03:01 milesj