rune::fileio

Function directory_file_name

Source
fn directory_file_name(dirname: &str) -> &str
Expand description

Return dirname sans final path separator, unless the string consists entirely of separators.