pub fn download_file_with_progress<F: ProgressCallback>(
file: &RemoteFile,
db_path: &Path,
progress: F,
) -> Result<Ref<FileMetadata>, ()>Expand description
Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later.
file- Remote File to download and opendb_path- File path for saved databaseprogress- Function to call for progress updates