nu_path

Function has_trailing_slash

Source
pub fn has_trailing_slash(path: &Path) -> bool
Expand description

true if the path has a trailing slash, including if it’s the root directory.