MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / normalize_docker_arch

Function normalize_docker_arch

crates/openshell-driver-docker/src/lib.rs:3019–3025  ·  view source on GitHub ↗
(arch: &str)

Source from the content-addressed store, hash-verified

3017}
3018
3019fn normalize_docker_arch(arch: &str) -> String {
3020 match arch {
3021 "x86_64" => "amd64".to_string(),
3022 "aarch64" => "arm64".to_string(),
3023 other => other.to_ascii_lowercase(),
3024 }
3025}
3026
3027#[derive(Debug, Eq, PartialEq)]
3028enum SupervisorBinSource {

Callers 1

newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected