| 92 | |
| 93 | |
| 94 | void BinaryNinja::Collaboration::MergeDatabase(Ref<Database> database, AnalysisConflictHandler conflictHandler, ProgressFunction progress) |
| 95 | { |
| 96 | ProgressContext pctxt; |
| 97 | pctxt.callback = progress; |
| 98 | |
| 99 | DatabaseConflictHandlerContext chctxt; |
| 100 | chctxt.callback = conflictHandler; |
| 101 | |
| 102 | if (!BNCollaborationMergeDatabase(database->m_object, DatabaseConflictHandlerCallback, &chctxt, ProgressCallback, &pctxt)) |
| 103 | throw SyncException("Failed to merge database"); |
| 104 | } |
| 105 | |
| 106 | |
| 107 | size_t BinaryNinja::Collaboration::PushDatabase(Ref<Database> database, Ref<RemoteFile> file, ProgressFunction progress) |
nothing calls this directly
no test coverage detected