Function disk_file_from_file

Source
pub(crate) fn disk_file_from_file(
    raw_image: File,
    params: DiskFileParams,
    image_type: ImageType,
) -> Result<Box<dyn DiskFile>>