(path: string)
| 39 | |
| 40 | /** Trim both leading and trailing slashes. */ |
| 41 | export function trimPath(path: string) { |
| 42 | return trimPathRight(trimPathLeft(path)) |
| 43 | } |
| 44 | |
| 45 | /** Remove a trailing slash from value when appropriate for comparisons. */ |
| 46 | export function removeTrailingSlash(value: string, basepath: string): string { |
no test coverage detected