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

Function status_text

crates/openshell-sandbox/src/google_cloud_metadata.rs:275–283  ·  view source on GitHub ↗
(status: u16)

Source from the content-addressed store, hash-verified

273}
274
275fn status_text(status: u16) -> &'static str {
276 match status {
277 403 => "Forbidden",
278 404 => "Not Found",
279 405 => "Method Not Allowed",
280 503 => "Service Unavailable",
281 _ => "OK",
282 }
283}
284
285async fn write_metadata_response<S>(
286 client: &mut S,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected