Skip to main content

components

Function components 

Source
pub fn components<'a>(path: &'a str) -> Components<'a> 
Expand description

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