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

Method get_options

libs/hbb_common/src/config.rs:906–911  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

904 }
905
906 pub fn get_options() -> HashMap<String, String> {
907 let mut res = DEFAULT_SETTINGS.read().unwrap().clone();
908 res.extend(CONFIG2.read().unwrap().options.clone());
909 res.extend(OVERWRITE_SETTINGS.read().unwrap().clone());
910 res
911 }
912
913 #[inline]
914 fn purify_options(v: &mut HashMap<String, String>) {

Callers

nothing calls this directly

Calls 2

cloneMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected