pub fn sync_database_with_progress<C: DatabaseConflictHandler, P: ProgressCallback, N: NameChangeset>(
database: &Database,
file: &RemoteFile,
conflict_handler: C,
name_changeset: N,
progress: P,
) -> Result<(), ()>Expand description
Completely sync a database, pushing/pulling/merging/applying changes
database- Database to syncfile- File to sync withconflict_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