()
| 498 | }, |
| 499 | |
| 500 | join() { |
| 501 | if (arguments.length === 0) { |
| 502 | return "." |
| 503 | } |
| 504 | let joined |
| 505 | for (let i = 0; i < arguments.length; ++i) { |
| 506 | const arg = arguments[i] |
| 507 | if (arg.length > 0) { |
| 508 | if (joined === undefined) { |
| 509 | joined = arg |
| 510 | } else { |
| 511 | joined += "/" + arg |
| 512 | } |
| 513 | } |
| 514 | } |
| 515 | if (joined === undefined) { |
| 516 | return "." |
| 517 | } |
| 518 | return posixImpl.normalize(joined) |
| 519 | }, |
| 520 | |
| 521 | relative(from, to) { |
| 522 | if (from === to) return "" |
no outgoing calls
no test coverage detected