TODO: AsRef Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later. `db_path` - File path for saved database `progress_function` - Function to call for progress updates
(&self, db_path: S)
| 429 | /// * `db_path` - File path for saved database |
| 430 | /// * `progress_function` - Function to call for progress updates |
| 431 | pub fn download<S>(&self, db_path: S) -> Result<Ref<FileMetadata>, ()> |
| 432 | where |
| 433 | S: BnStrCompatible, |
| 434 | { |
| 435 | sync::download_file(self, db_path) |
| 436 | } |
| 437 | |
| 438 | // TODO: AsRef<Path> |
| 439 | /// Download a file from its remote, saving all snapshots to a database in the |
no test coverage detected