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

Method cwd

crates/lib/src/task.rs:46–49  ·  view source on GitHub ↗

Set the working directory for this task.

(mut self, dir: &Dir)

Source from the content-addressed store, hash-verified

44
45 /// Set the working directory for this task.
46 pub(crate) fn cwd(mut self, dir: &Dir) -> Result<Self> {
47 self.cmd.cwd_dir(dir.try_clone()?);
48 Ok(self)
49 }
50
51 pub(crate) fn new_cmd(description: impl AsRef<str>, mut cmd: Command) -> Self {
52 let description = description.as_ref().to_string();

Callers 2

initialize_ostree_rootFunction · 0.80
finalize_filesystemFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected