MCPcopy Create free account
hub / github.com/clawshell/clawshell / parse_env_u32

Function parse_env_u32

src/openclaw_cli.rs:96–98  ·  view source on GitHub ↗
(name: &str)

Source from the content-addressed store, hash-verified

94
95#[cfg(unix)]
96fn parse_env_u32(name: &str) -> Option<u32> {
97 std::env::var(name).ok()?.parse::<u32>().ok()
98}
99
100#[cfg(unix)]
101#[derive(Debug, Clone, PartialEq, Eq)]

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected