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

Function normalizeOs

pkg/remote/connutil.go:42–45  ·  view source on GitHub ↗
(os string)

Source from the content-addressed store, hash-verified

40}
41
42func normalizeOs(os string) string {
43 os = strings.ToLower(strings.TrimSpace(os))
44 return os
45}
46
47func normalizeArch(arch string) string {
48 arch = strings.ToLower(strings.TrimSpace(arch))

Callers 2

GetClientPlatformFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected