Function nu_path::has_trailing_slash
source · pub fn has_trailing_slash(path: &Path) -> boolExpand description
true if the path has a trailing slash, including if it’s the root directory.
pub fn has_trailing_slash(path: &Path) -> booltrue if the path has a trailing slash, including if it’s the root directory.