pub fn pull_database<C: DatabaseConflictHandler, N: NameChangeset>(
database: &Database,
file: &RemoteFile,
conflict_handler: C,
name_changeset: N,
) -> 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 necessary