(file: string)
| 2243 | } |
| 2244 | |
| 2245 | function isAbsoluteSourceFile(file: string): boolean { |
| 2246 | return ( |
| 2247 | file.startsWith("/") || |
| 2248 | /^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(file) || |
| 2249 | /^[A-Za-z]:[\\/]/.test(file) |
| 2250 | ); |
| 2251 | } |
| 2252 | |
| 2253 | function sourceLocationForView(view: any, sourceRoot = ""): JSONObject | null { |
| 2254 | const raw = safeCall( |
no outgoing calls
no test coverage detected