(a: string, b: string)
| 98 | } |
| 99 | |
| 100 | function areSeparateFolders(a: string, b: string) { |
| 101 | const na = normalizePath(a) |
| 102 | const nb = normalizePath(b) |
| 103 | return ( |
| 104 | na !== nb && |
| 105 | !na.startsWith(withTrailingSlash(nb)) && |
| 106 | !nb.startsWith(withTrailingSlash(na)) |
| 107 | ) |
| 108 | } |
no test coverage detected