sui_storage::object_store::util

Function copy_recursively

Source
pub async fn copy_recursively<S: ObjectStoreGetExt + ObjectStoreListExt, D: ObjectStorePutExt>(
    dir: &Path,
    src_store: &S,
    dest_store: &D,
    concurrency: NonZeroUsize,
) -> Result<Vec<()>>