rune::fileio

Function file_name_directory

Source
fn file_name_directory(filename: &str) -> Option<String>
Expand description

Returns the directory part of filename, as a directory name, or nil if filename does not include a directory part.