* Determines whether a path consists only of a path root.
(path)
| 7571 | * Determines whether a path consists only of a path root. |
| 7572 | */ |
| 7573 | function isDiskPathRoot(path) { |
| 7574 | var rootLength = getEncodedRootLength(path); |
| 7575 | return rootLength > 0 && rootLength === path.length; |
| 7576 | } |
| 7577 | ts.isDiskPathRoot = isDiskPathRoot; |
| 7578 | /** |
| 7579 | * Determines whether a path starts with an absolute path component (i.e. `/`, `c:/`, `file://`, etc.). |
nothing calls this directly
no test coverage detected
searching dependent graphs…