MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / ctx_number

Function ctx_number

atomic-cli/src/agent_error.rs:226–231  ·  view source on GitHub ↗
(err: &clap::Error, kind: ContextKind)

Source from the content-addressed store, hash-verified

224}
225
226fn ctx_number(err: &clap::Error, kind: ContextKind) -> Option<isize> {
227 match err.get(kind) {
228 Some(ContextValue::Number(value)) => Some(*value),
229 _ => None,
230 }
231}
232
233/// Render one escaped `key: value` record per line.
234///

Callers 1

reasonFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected