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

Method id

src/system/os.rs:39–44  ·  view source on GitHub ↗

The distro/OS id as it appears on the wire (matches `sysinfo::System::distribution_id()`).

(&self)

Source from the content-addressed store, hash-verified

37
38 /// The distro/OS id as it appears on the wire (matches `sysinfo::System::distribution_id()`).
39 pub fn id(&self) -> &str {
40 match self {
41 Self::Linux(distro) => distro.id(),
42 Self::Macos { .. } => "macos",
43 }
44 }
45
46 pub fn version(&self) -> &str {
47 match self {

Callers 7

get_commit_hashMethod · 0.80
get_git_ref_infoMethod · 0.80
fromMethod · 0.80
perform_with_valgrindFunction · 0.80
track_commandFunction · 0.80
track_commandFunction · 0.80

Calls

no outgoing calls

Tested by 1

track_commandFunction · 0.64