(path: string, root: string)
| 30 | } |
| 31 | |
| 32 | export function isFileBrowserWatchIgnoredPath(path: string, root: string): boolean { |
| 33 | const rel = relative(root, path).replace(/\\/g, "/"); |
| 34 | if (!rel || rel.startsWith("..") || isAbsolute(rel)) return false; |
| 35 | return isFileBrowserExcludedPath(rel); |
| 36 | } |
| 37 | |
| 38 | function isValidDirectory(dirPath: string): boolean { |
| 39 | try { |
no test coverage detected