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

Method arg

crates/lib/src/task.rs:86–89  ·  view source on GitHub ↗
(mut self, arg: S)

Source from the content-addressed store, hash-verified

84 }
85
86 pub(crate) fn arg<S: AsRef<OsStr>>(mut self, arg: S) -> Self {
87 self.cmd.args([arg]);
88 self
89 }
90
91 /// Run the command, returning an error if the command does not exit successfully.
92 pub(crate) fn run(self) -> Result<()> {

Callers 15

command_run_ext_jsonFunction · 0.80
reexec_with_guardenvFunction · 0.80
build_ukifyFunction · 0.80
spawn_editorFunction · 0.80
bootctl_systemd_versionFunction · 0.80
new_image_cmdMethod · 0.80
createMethod · 0.80
prune_except_rootsMethod · 0.80
imgcmd_entrypointFunction · 0.80
test_install_tFunction · 0.80

Calls 1

argsMethod · 0.80

Tested by 4

command_run_ext_jsonFunction · 0.64
test_install_tFunction · 0.64
test_bootc_upgradeFunction · 0.64
check_skopeoFunction · 0.64