Skip to main content

copy_out

Function copy_out 

Source
pub fn copy_out<R: ReadBlock, W: HostWrite>(
    main_block_ref: &BlockRef,
    block_reader: &mut R,
    host_writer: W,
) -> Result<(), Error>
Expand description

Copy the file or directory (recursively) referenced by main_block_ref from the block storage to the host file system.