binaryninja::collaboration

Function sync_type_archive

source
pub fn sync_type_archive<C: TypeArchiveConflictHandler>(
    type_archive: &TypeArchive,
    file: &RemoteFile,
    conflict_handler: C,
) -> Result<(), ()>
Expand description

Completely sync a type archive, pushing/pulling/merging/applying changes

  • type_archive - TypeArchive to sync
  • file - File to sync with
  • conflict_handler - Function to call to resolve snapshot conflicts