Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/containerd/containerd
/ GetOS
Method
GetOS
api/types/platform.pb.go:84–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
82
}
83
84
func
(x *Platform) GetOS() string {
85
if
x != nil {
86
return
x.OS
87
}
88
return
""
89
}
90
91
func
(x *Platform) GetArchitecture() string {
92
if
x != nil {
Callers
1
Platform
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected