Function rust_utils::utils::get_parent

source ยท
pub fn get_parent<D: Into<PathBuf>>(dir: D) -> String
Expand description

Gets the parent directory from a file path

Returns the current path if there is no parent