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

Function GetClientData

pkg/wcore/wcore.go:100–106  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

98}
99
100func GetClientData(ctx context.Context) (*waveobj.Client, error) {
101 clientData, err := wstore.DBGetSingleton[*waveobj.Client](ctx)
102 if err != nil {
103 return nil, fmt.Errorf("error getting client data: %w", err)
104 }
105 return clientData, nil
106}
107
108func SendWaveObjUpdate(oref waveobj.ORef) {
109 ctx, cancelFn := context.WithTimeout(context.Background(), 2*time.Second)

Callers 3

GetClientDataMethod · 0.92
CreateWindowFunction · 0.85
FocusWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected