MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / from

Method from

src/system/os.rs:78–83  ·  view source on GitHub ↗
(os: SupportedOs)

Source from the content-addressed store, hash-verified

76
77impl From<SupportedOs> for SupportedOsSerde {
78 fn from(os: SupportedOs) -> Self {
79 SupportedOsSerde {
80 os: os.id().to_string(),
81 os_version: os.version().unwrap_or(UNKNOWN_OS_VERSION).to_string(),
82 }
83 }
84}
85
86/// Linux distribution, identified by the `sysinfo` distribution id.

Callers

nothing calls this directly

Calls 2

idMethod · 0.80
versionMethod · 0.80

Tested by

no test coverage detected