Skip to main content

directory_of

Function directory_of 

Source
pub fn directory_of(path: &[u8]) -> &[u8] 
Expand description

The directory part of a path, including the trailing slash. Empty at the root.