MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / config_usize

Function config_usize

debugger/src/debugger/config.rs:46–51  ·  view source on GitHub ↗
(key: &str)

Source from the content-addressed store, hash-verified

44}
45
46fn config_usize(key: &str) -> Option<usize> {
47 match CONFIG.get(key) {
48 Some(ConfigValue::u64(v)) => Some(*v as usize),
49 _ => None,
50 }
51}
52
53/// Unset is false
54fn config_bool(key: &str) -> bool {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected