MCPcopy Index your code
hub / github.com/docker/cli / arch

Function arch

cli/command/system/version.go:204–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204func arch() string {
205 out := runtime.GOARCH
206 if rosetta.Enabled() {
207 out += " (rosetta)"
208 }
209 return out
210}
211
212func runVersion(ctx context.Context, dockerCLI command.Cli, opts *versionOptions) error {
213 var err error

Callers 1

newClientVersionFunction · 0.85

Calls 1

EnabledMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…