MCPcopy Create free account
hub / github.com/bootc-dev/bootc / parse

Function parse

crates/initramfs/src/lib.rs:569–571  ·  view source on GitHub ↗
(toml: &str)

Source from the content-addressed store, hash-verified

567 use super::*;
568
569 fn parse(toml: &str) -> Config {
570 toml::from_str(toml).expect("TOML parse failed")
571 }
572
573 #[test]
574 fn test_config_defaults() {

Callers 15

read_sysusersFunction · 0.85
parse_allFunction · 0.85
test_sysusers_parseFunction · 0.85
test_sysgroups_parseFunction · 0.85
test_source_name_bls_keyFunction · 0.85
delete_kargsFunction · 0.85
parse_os_releaseFunction · 0.85
setup_composefs_bls_bootFunction · 0.85
write_pe_to_espFunction · 0.85

Calls

no outgoing calls

Tested by 15

test_sysusers_parseFunction · 0.68
test_sysgroups_parseFunction · 0.68
test_source_name_bls_keyFunction · 0.68
mainFunction · 0.68
test_config_defaultsFunction · 0.68
test_mounttype_noneFunction · 0.68
test_etc_transient_flagFunction · 0.68
test_var_noneFunction · 0.68
test_root_transientFunction · 0.68