pub fn get_parent<D: Into<String>>(dir: D) -> String
Expand description

Gets the parent directory from a file path