MCPcopy Create free account
hub / github.com/Recordscript/recordscript / get_flutter_option

Method get_flutter_option

libs/hbb_common/src/config.rs:1474–1482  ·  view source on GitHub ↗
(k: &str)

Source from the content-addressed store, hash-verified

1472 }
1473
1474 pub fn get_flutter_option(k: &str) -> String {
1475 get_or(
1476 &OVERWRITE_LOCAL_SETTINGS,
1477 &LOCAL_CONFIG.read().unwrap().ui_flutter,
1478 &DEFAULT_LOCAL_SETTINGS,
1479 k,
1480 )
1481 .unwrap_or_default()
1482 }
1483
1484 pub fn set_flutter_option(k: String, v: String) {
1485 let mut config = LOCAL_CONFIG.write().unwrap();

Callers

nothing calls this directly

Calls 2

get_orFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected