()
| 54 | } |
| 55 | |
| 56 | toString (): string { |
| 57 | if (this.type === PortForwardType.Local) { |
| 58 | return `(local) ${this.host}:${this.port} → (remote) ${this.targetAddress}:${this.targetPort}` |
| 59 | } if (this.type === PortForwardType.Remote) { |
| 60 | return `(remote) ${this.host}:${this.port} → (local) ${this.targetAddress}:${this.targetPort}` |
| 61 | } else { |
| 62 | return `(dynamic) ${this.host}:${this.port}` |
| 63 | } |
| 64 | } |
| 65 | } |
no outgoing calls
no test coverage detected