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

Function GetSystemSummary

pkg/wavebase/wavebase.go:423–430  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

421var systemSummary string
422
423func GetSystemSummary() string {
424 systemSummaryOnce.Do(func() {
425 ctx, cancelFn := context.WithTimeout(context.Background(), 2*time.Second)
426 defer cancelFn()
427 systemSummary = getSystemSummary(ctx)
428 })
429 return systemSummary
430}
431
432func ValidateWshSupportedArch(os string, arch string) error {
433 if SupportedWshBinaries[fmt.Sprintf("%s-%s", os, arch)] {

Callers 3

generateBuilderAppDataFunction · 0.92
mainFunction · 0.92

Calls 1

getSystemSummaryFunction · 0.85

Tested by

no test coverage detected