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

Function config_bool

debugger/src/debugger/config.rs:54–59  ·  view source on GitHub ↗

Unset is false

(key: &str)

Source from the content-addressed store, hash-verified

52
53/// Unset is false
54fn config_bool(key: &str) -> bool {
55 match CONFIG.get(key) {
56 Some(ConfigValue::bool(v)) => *v,
57 _ => false,
58 }
59}
60
61fn config_string(key: &str) -> Option<String> {
62 match CONFIG.get(key).cloned() {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected