(candidate: string)
| 351 | * Returns whether the string is a file UR |
| 352 | */ |
| 353 | export function isFileUrl(candidate: string): candidate is FileUrl { |
| 354 | return candidate.startsWith('file:///'); |
| 355 | } |
| 356 | |
| 357 | export function maybeAbsolutePathToFileUrl( |
| 358 | rootPath: string | undefined, |
no test coverage detected