(base: URI, path: string)
| 277 | } |
| 278 | |
| 279 | resolvePath(base: URI, path: string): URI { |
| 280 | if (base.scheme === Schemas.file) { |
| 281 | const newURI = URI.file(paths.resolve(originalFSPath(base), path)); |
| 282 | return base.with({ |
| 283 | authority: newURI.authority, |
| 284 | path: newURI.path |
| 285 | }); |
| 286 | } |
| 287 | path = extpath.toPosixPath(path); // we allow path to be a windows path |
| 288 | return base.with({ |
| 289 | path: paths.posix.resolve(base.path, path) |
| 290 | }); |
| 291 | } |
| 292 | |
| 293 | // --- misc |
| 294 |
nothing calls this directly
no test coverage detected