Function libpijul::path::components[][src]

pub fn components(path: &str) -> Components<'_>

Notable traits for Components<'a>

impl<'a> Iterator for Components<'a> type Item = &'a str;

Returns an iterator of the non-empty components of a path, delimited by /. Note that . and .. are treated as components.