MCPcopy
hub / github.com/wavetermdev/waveterm / GetClient

Method GetClient

pkg/wslconn/wslconn.go:452–456  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450}
451
452func (conn *WslConn) GetClient() *wsl.Distro {
453 conn.Lock.Lock()
454 defer conn.Lock.Unlock()
455 return conn.Client
456}
457
458func (conn *WslConn) Reconnect(ctx context.Context) error {
459 err := conn.Close()

Callers 3

StartConnServerMethod · 0.95
UpdateWshMethod · 0.95
InstallWshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected