Skip to main content

write_all

Function write_all 

Source
pub fn write_all(
    command: &str,
    host: &dyn Host,
    dir: &str,
    files: Vec<(&str, Vec<u8>)>,
) -> Result<(), Done>
Expand description

Write every (name, bytes) into dir, all or none. The bytes move into the host’s list; nothing is copied.