feat: implement on-disk indexes of images

This commit is contained in:
Alex Zenla
2024-04-16 13:55:40 +00:00
parent ac3eca3ebb
commit 7ebcc3d4ab
9 changed files with 228 additions and 55 deletions

View File

@ -35,7 +35,7 @@ async fn main() -> Result<()> {
}
}
});
let service = OciPackerService::new(seed, &cache_dir, OciPlatform::current())?;
let service = OciPackerService::new(seed, &cache_dir, OciPlatform::current()).await?;
let packed = service
.request(image.clone(), OciPackedFormat::Squashfs, false, context)
.await?;