* Determines whether a path has a trailing separator (`/` or `\\`).
(path)
| 7631 | * Determines whether a path has a trailing separator (`/` or `\\`). |
| 7632 | */ |
| 7633 | function hasTrailingDirectorySeparator(path) { |
| 7634 | return path.length > 0 && isAnyDirectorySeparator(path.charCodeAt(path.length - 1)); |
| 7635 | } |
| 7636 | ts.hasTrailingDirectorySeparator = hasTrailingDirectorySeparator; |
| 7637 | //// Path Parsing |
| 7638 | function isVolumeCharacter(charCode) { |
no test coverage detected
searching dependent graphs…