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

Function SetClientId

pkg/wstore/wstore.go:26–30  ·  view source on GitHub ↗
(clientId string)

Source from the content-addressed store, hash-verified

24)
25
26func SetClientId(clientId string) {
27 clientIdLock.Lock()
28 defer clientIdLock.Unlock()
29 cachedClientId = clientId
30}
31
32// in the main server, this will not return empty string
33// it does return empty in wsh, but all wstore methods are invalid in wsh mode, so that shouldn't be an issue

Callers 2

EnsureInitialDataFunction · 0.92
initTestHarnessFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected