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

Method remove

crates/kernel_cmdline/src/utf8.rs:194–196  ·  view source on GitHub ↗

Remove parameter(s) with the given key from the command line Returns `true` if parameter(s) were removed.

(&mut self, key: &ParameterKey)

Source from the content-addressed store, hash-verified

192 ///
193 /// Returns `true` if parameter(s) were removed.
194 pub fn remove(&mut self, key: &ParameterKey) -> bool {
195 self.0.remove(&key.0)
196 }
197
198 /// Remove all parameters that exactly match the given parameter
199 /// from the command line

Callers 15

mainFunction · 0.45
lint_innerFunction · 0.45
check_bootFunction · 0.45
prune_known_run_pathsFunction · 0.45
delete_kargsFunction · 0.45
get_statusFunction · 0.45
require_single_rootMethod · 0.45
move_pathMethod · 0.45
basic_packingFunction · 0.45
test_advanced_packingFunction · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by 3

mainFunction · 0.36
test_advanced_packingFunction · 0.36
validate_tar_expectedFunction · 0.36