Remove the last slash in the given path [if any]
(path)
| 153 | |
| 154 | |
| 155 | def remove_last_slash(path): |
| 156 | """Remove the last slash in the given path [if any]""" |
| 157 | |
| 158 | if path.endswith("/"): |
| 159 | path = path[:-1] |
| 160 | |
| 161 | return path |
| 162 | |
| 163 | |
| 164 | def verify_workspace_name(path): |
no outgoing calls
no test coverage detected