* Whether `path` is a descendant of the `base`? * E.g. `a/b/c` is within `a/b` but not within `a/x`.
(fs: FileSystem, base: AbsoluteFsPath, path: AbsoluteFsPath)
| 126 | * E.g. `a/b/c` is within `a/b` but not within `a/x`. |
| 127 | */ |
| 128 | function isWithinBasePath(fs: FileSystem, base: AbsoluteFsPath, path: AbsoluteFsPath): boolean { |
| 129 | return isLocalRelativePath(fs.relative(base, path)); |
| 130 | } |
no test coverage detected
searching dependent graphs…