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

Method linux

crates/openshell-ocsf/src/objects/device.rs:29–36  ·  view source on GitHub ↗
(hostname: &str)

Source from the content-addressed store, hash-verified

27 /// Create a Linux device with the given hostname.
28 #[must_use]
29 pub fn linux(hostname: &str) -> Self {
30 Self {
31 hostname: hostname.to_string(),
32 os: Some(OsInfo {
33 name: "Linux".to_string(),
34 }),
35 }
36 }
37}
38
39#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected