sui_storage::object_store::util

Function copy_files

Source
pub async fn copy_files<S: ObjectStoreGetExt, D: ObjectStorePutExt>(
    src: &[Path],
    dest: &[Path],
    src_store: &S,
    dest_store: &D,
    concurrency: NonZeroUsize,
    progress_bar: Option<ProgressBar>,
) -> Result<Vec<()>>