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

Method GetConfigShellPath

pkg/wslconn/wslconn.go:241–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239}
240
241func (conn *WslConn) GetConfigShellPath() string {
242 config, ok := conn.getConnectionConfig()
243 if !ok {
244 return ""
245 }
246 return config.ConnShellPath
247}
248
249// returns (needsInstall, clientVersion, osArchStr, error)
250// if wsh is not installed, the clientVersion will be "not-installed", and it will also return an osArchStr

Callers 3

StartWslShellProcFunction · 0.45
StartRemoteShellProcFunction · 0.45
StartRemoteShellJobFunction · 0.45

Calls 1

getConnectionConfigMethod · 0.95

Tested by

no test coverage detected