| 57 | |
| 58 | |
| 59 | Ref<RemoteFile> BinaryNinja::Collaboration::GetRemoteFileForLocalDatabase(Ref<Database> database) |
| 60 | { |
| 61 | BNRemoteFile* val; |
| 62 | if (!BNCollaborationGetRemoteFileForLocalDatabase(database->m_object, &val)) |
| 63 | throw RemoteException("Failed to get remote file for local database"); |
| 64 | |
| 65 | if (val == nullptr) |
| 66 | return nullptr; |
| 67 | return new RemoteFile(val); |
| 68 | } |
| 69 | |
| 70 | |
| 71 | size_t BinaryNinja::Collaboration::PullDatabase(Ref<Database> database, Ref<RemoteFile> file, AnalysisConflictHandler conflictHandler, ProgressFunction progress, NameChangesetFunction nameChangeset) |
nothing calls this directly
no test coverage detected