Completely sync a file, pushing/pulling/merging/applying changes `bv_or_db` - Binary view or database to sync with `conflict_handler` - Function to call to resolve snapshot conflicts `name_changeset` - Function to call for naming a pushed changeset, if necessary
(
&self,
database: &Database,
conflict_handler: C,
name_changeset: N,
)
| 487 | /// * `conflict_handler` - Function to call to resolve snapshot conflicts |
| 488 | /// * `name_changeset` - Function to call for naming a pushed changeset, if necessary |
| 489 | pub fn sync<C: DatabaseConflictHandler, N: NameChangeset>( |
| 490 | &self, |
| 491 | database: &Database, |
| 492 | conflict_handler: C, |
| 493 | name_changeset: N, |
| 494 | ) -> Result<(), ()> { |
| 495 | sync::sync_database(database, self, conflict_handler, name_changeset) |
| 496 | } |
| 497 | |
| 498 | /// Completely sync a file, pushing/pulling/merging/applying changes |
| 499 | /// |
no test coverage detected