Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_sysusers
Function · 0.85
parse_all
Function · 0.85
test_sysusers_parse
Function · 0.85
test_sysgroups_parse
Function · 0.85
set_options_for_source_staged
Function · 0.85
test_source_name_validation
Function · 0.85
test_source_name_bls_key
Function · 0.85
test_compute_merged_options
Function · 0.85
delete_kargs
Function · 0.85
parse_os_release
Function · 0.85
setup_composefs_bls_boot
Function · 0.85
write_pe_to_esp
Function · 0.85
Calls
no outgoing calls
Tested by
15
test_sysusers_parse
Function · 0.68
test_sysgroups_parse
Function · 0.68
test_source_name_validation
Function · 0.68
test_source_name_bls_key
Function · 0.68
test_compute_merged_options
Function · 0.68
main
Function · 0.68
test_config_defaults
Function · 0.68
test_mounttype_none
Function · 0.68
test_mounttype_root_alias
Function · 0.68
test_etc_transient_flag
Function · 0.68
test_var_none
Function · 0.68
test_root_transient
Function · 0.68