(folderPath: string)
| 78 | } |
| 79 | |
| 80 | function hasRelativePathSegments(folderPath: string): boolean { |
| 81 | return folderPath |
| 82 | .replace(/\\/g, "/") |
| 83 | .split("/") |
| 84 | .some((segment) => segment === "." || segment === ".."); |
| 85 | } |
| 86 | |
| 87 | function normalizeRelativeFolderPath(folderPath: string): string { |
| 88 | const slashNormalizedPath = folderPath.replace(/\\/g, "/"); |
no outgoing calls
no test coverage detected