Function nu_path::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.