pub fn pull_database_with_progress<C: DatabaseConflictHandler, P: ProgressCallback, N: NameChangeset>(
database: &Database,
file: &RemoteFile,
conflict_handler: C,
name_changeset: N,
progress: P,
) -> Result<usize, ()>
Expand description
Pull updated snapshots from the remote. Merge local changes with remote changes and potentially create a new snapshot for unsaved changes, named via name_changeset.
database
- Database to pullfile
- Remote File to pull toconflict_handler
- Function to call to resolve snapshot conflictsname_changeset
- Function to call for naming a pushed changeset, if necessaryprogress
- Function to call for progress updates