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

Method key

crates/kernel_cmdline/src/utf8.rs:349–351  ·  view source on GitHub ↗

Returns the key part of the parameter

(&'a self)

Source from the content-addressed store, hash-verified

347
348 /// Returns the key part of the parameter
349 pub fn key(&'a self) -> ParameterKey<'a> {
350 ParameterKey::from_bytes(self.0.key())
351 }
352
353 /// Returns the optional value part of the parameter
354 pub fn value(&'a self) -> Option<&'a str> {

Callers 9

root_args_from_cmdlineFunction · 0.45
delete_kargsFunction · 0.45
compare_cmdline_skip_cfsFunction · 0.45
copy_entryFunction · 0.45
tar_filter_pax_etc_remapFunction · 0.45
findMethod · 0.45
try_fromMethod · 0.45
test_find_all_strFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_find_all_strFunction · 0.36