refactor and bunch more improvements; use object_store for s3

This commit is contained in:
cy 2025-04-26 12:37:07 -04:00
parent b1e59d0a6c
commit 81ce855dae
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
9 changed files with 535 additions and 1320 deletions

View file

@ -28,13 +28,13 @@ impl Store {
inner
.store()
.compute_fs_closure(path.to_string().as_bytes(), false, true, true)?;
Ok(cxx_vector
cxx_vector
.iter()
.map(|x| {
StorePath::from_bytes(x.as_bytes())
.context("make StorePath from vector returned by compute_fs_closure")
})
.collect::<Result<_, _>>()?)
.collect::<Result<_, _>>()
})
.await
.unwrap()