MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / String

Method String

pkg/remote/sshclient.go:1142–1152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1140}
1141
1142func (opts SSHOpts) String() string {
1143 stringRepr := ""
1144 if opts.SSHUser != "" {
1145 stringRepr = opts.SSHUser + "@"
1146 }
1147 stringRepr = stringRepr + opts.SSHHost
1148 if opts.SSHPort != "22" && opts.SSHPort != "" {
1149 stringRepr = stringRepr + ":" + fmt.Sprint(opts.SSHPort)
1150 }
1151 return stringRepr
1152}
1153
1154func mergeKeywords(oldKeywords *wconfig.ConnKeywords, newKeywords *wconfig.ConnKeywords) *wconfig.ConnKeywords {
1155 if oldKeywords == nil {

Callers 10

createHostKeyCallbackFunction · 0.45
ConnectToClientFunction · 0.45
CpWshToRemoteFunction · 0.45
DeriveConnStatusMethod · 0.45
GetNameMethod · 0.45
getEnvironmentNoPtyMethod · 0.45
getEnvironmentWithPtyMethod · 0.45
connectInternalMethod · 0.45
DisconnectClientFunction · 0.45
resolveSshConfigPatternsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected