(a: string, b: string)
| 103 | } |
| 104 | |
| 105 | function pathsOverlap(a: string, b: string): boolean { |
| 106 | return isWithin(a, b) || isWithin(b, a) |
| 107 | } |
| 108 | |
| 109 | function isWithin(target: string, base: string): boolean { |
| 110 | const relative = path.relative(base, target) |
no test coverage detected