MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / DetermineLang

Function DetermineLang

pkg/wavebase/wavebase.go:330–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328}
329
330func DetermineLang() string {
331 osLangOnce.Do(func() {
332 osLang = determineLang()
333 })
334 return osLang
335}
336
337func DetermineLocale() string {
338 truncated := strings.Split(DetermineLang(), ".")[0]

Callers 2

StartLocalShellProcFunction · 0.92
DetermineLocaleFunction · 0.85

Calls 1

determineLangFunction · 0.85

Tested by

no test coverage detected