Function backup_cli::metadata::cache::sync_and_load
source · pub async fn sync_and_load(
opt: &MetadataCacheOpt,
storage: Arc<dyn BackupStorage>,
concurrent_downloads: usize
) -> Result<MetadataView>
Expand description
Sync local cache folder with remote storage, and load all metadata entries from the cache.