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

Function linux_oci_arch

crates/openshell-driver-vm/src/driver.rs:3440–3447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3438}
3439
3440fn linux_oci_arch() -> &'static str {
3441 match std::env::consts::ARCH {
3442 "x86_64" => "amd64",
3443 "aarch64" => "arm64",
3444 "arm" => "arm",
3445 other => other,
3446 }
3447}
3448
3449#[allow(clippy::result_large_err)]
3450fn registry_auth(image_ref: &str) -> Result<RegistryAuth, Status> {

Callers 2

linux_platform_resolverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected