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

Method new

crates/memtrack/src/kernel.rs:22–24  ·  view source on GitHub ↗
(major: u32, minor: u32)

Source from the content-addressed store, hash-verified

20
21impl KernelVersion {
22 pub const fn new(major: u32, minor: u32) -> Self {
23 Self { major, minor }
24 }
25
26 /// The running kernel's release.
27 pub fn current() -> Result<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected