(path: string, boundary: string)
| 37 | } |
| 38 | |
| 39 | function isPathWithinBoundary(path: string, boundary: string): boolean { |
| 40 | return path === boundary || path.startsWith(`${boundary}${sep}`); |
| 41 | } |
| 42 | |
| 43 | function listParentDirectories(startPath: string, boundaryPath: string): string[] { |
| 44 | const parents: string[] = []; |
no outgoing calls
no test coverage detected