| 295 | } |
| 296 | |
| 297 | int removeEndSlash(char *path) { |
| 298 | int len = strlen(path); |
| 299 | |
| 300 | if (path[len - 1] == '/') { |
| 301 | path[len - 1] = '\0'; |
| 302 | return 1; |
| 303 | } |
| 304 | |
| 305 | return 0; |
| 306 | } |
| 307 | |
| 308 | int addEndSlash(char *path) { |
| 309 | int len = strlen(path); |
no outgoing calls
no test coverage detected