create_img_from_file_or_stdin

Function create_img_from_file_or_stdin 

Source
pub fn create_img_from_file_or_stdin(
    maybe_img_path: Option<&String>,
) -> Result<Box<dyn DiskImage>, Box<dyn Error>>
Expand description

If the path is given call create_img_from_file, otherwise call create_img_from_stdin