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

Function ValidateWshSupportedArch

pkg/wavebase/wavebase.go:432–437  ·  view source on GitHub ↗
(os string, arch string)

Source from the content-addressed store, hash-verified

430}
431
432func ValidateWshSupportedArch(os string, arch string) error {
433 if SupportedWshBinaries[fmt.Sprintf("%s-%s", os, arch)] {
434 return nil
435 }
436 return fmt.Errorf("unsupported wsh platform: %s-%s", os, arch)
437}
438
439func getSystemSummary(ctx context.Context) string {
440 osName := runtime.GOOS

Callers 4

GetClientPlatformFunction · 0.92
GetClientPlatformFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected