binaryninja::collaboration

Function pull_database_with_progress

source
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 pull
  • file - Remote File to pull to
  • conflict_handler - Function to call to resolve snapshot conflicts
  • name_changeset - Function to call for naming a pushed changeset, if necessary
  • progress - Function to call for progress updates