pub fn check_slash(path: &str) -> String
Expand description

Add trailing slash to a given path if it does not end with one

Arguments

  • path - String that should end with a slash

Returns

String with trailing slash