Expand description
Download, cache, and access OVMF prebuilts.
§Example
use ovmf_prebuilt::{Arch, FileType, Source, Prebuilt};
use std::path::Path;
let prebuilt = Prebuilt::fetch(Source::LATEST, "target/ovmf")
.expect("failed to update prebuilt");
assert_eq!(
prebuilt.get_file(Arch::X64, FileType::Code),
Path::new("target/ovmf/x64/code.fd")
);