pub fn download_file(
file: &RemoteFile,
db_path: &Path,
) -> 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 database