| 105 | |
| 106 | |
| 107 | size_t BinaryNinja::Collaboration::PushDatabase(Ref<Database> database, Ref<RemoteFile> file, ProgressFunction progress) |
| 108 | { |
| 109 | ProgressContext pctxt; |
| 110 | pctxt.callback = progress; |
| 111 | size_t count = 0; |
| 112 | |
| 113 | if (!BNCollaborationPushDatabase(database->m_object, file->m_object, &count, ProgressCallback, &pctxt)) |
| 114 | throw SyncException("Failed to push database"); |
| 115 | |
| 116 | return count; |
| 117 | } |
| 118 | |
| 119 | |
| 120 | void BinaryNinja::Collaboration::DumpDatabase(Ref<Database> database) |
nothing calls this directly
no test coverage detected