pub async fn new(base_dir: PathBuf) -> Result<Self, ObjectStoreError> {
        for bucket in &[
            Bucket::ProverJobs,
            Bucket::WitnessInput,
            Bucket::LeafAggregationWitnessJobs,
            Bucket::NodeAggregationWitnessJobs,
            Bucket::SchedulerWitnessJobs,
            Bucket::ProverJobsFri,
            Bucket::LeafAggregationWitnessJobsFri,
            Bucket::NodeAggregationWitnessJobsFri,
            Bucket::SchedulerWitnessJobsFri,
            Bucket::ProofsFri,
            Bucket::StorageSnapshot,
            Bucket::VmDumps,
        ] {
            let bucket_path = base_dir.join(bucket.to_string());
            fs::create_dir_all(&bucket_path).await?;
        }
        Ok(FileBackedObjectStore { base_dir })
    }
Creates a new file-backed store with its root at the specified path.

# Errors

Propagates I/O errors.
core/lib/object_store/src/file.rs