Struct capturing_glob::Entry
[−]
[src]
pub struct Entry { /* fields omitted */ }
Entry that contains file path as well as all capture groups if any
Methods
impl Entry
[src]
fn path(&self) -> &Path
[src]
Get path represented by this entry
fn group(&self, n: usize) -> Option<&OsStr>
[src]
Get capture group number n
The n
is 1-based as in regexes (group 0 is the whole path)