Skip to main content

apply_ops

Function apply_ops 

Source
fn apply_ops(
    ops: &[Op],
    root: &Path,
    cfg: &mut Config,
    env: &mut BTreeMap<Vec<u8>, Vec<u8>>,
    argv0: &mut Option<Vec<u8>>,
    host: &dyn Host,
) -> Result<(), CliError>
Expand description

Applies the operations: creates entries under root, fills bindings and environment. Pure mapping lives in map_op; this does the filesystem work.