(root: string)
| 158 | } |
| 159 | |
| 160 | function normalizeRoot(root: string): string { |
| 161 | return path.resolve(root) |
| 162 | } |
| 163 | |
| 164 | function isPathInsideRoot(absPath: string, root: string): boolean { |
| 165 | return absPath === root || absPath.startsWith(root + path.sep) |
no outgoing calls
no test coverage detected