MCPcopy
hub / github.com/Eugeny/tabby / toString

Method toString

tabby-ssh/src/session/forwards.ts:56–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers 15

handleMethod · 0.80
replaceFileContentMethod · 0.80
hotkeyFilterFnMethod · 0.80
cFunction · 0.80
v86_all.jsFile · 0.80
hFunction · 0.80
qFunction · 0.80
read_elfFunction · 0.80
eFunction · 0.80
SpeakerWorkletDACFunction · 0.80
writeMethod · 0.80
getNewTabParametersMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected