| 35 | |
| 36 | |
| 37 | Ref<Remote> BinaryNinja::Collaboration::GetRemoteForLocalDatabase(Ref<Database> database) |
| 38 | { |
| 39 | BNRemote* val; |
| 40 | if (!BNCollaborationGetRemoteForLocalDatabase(database->m_object, &val)) |
| 41 | throw RemoteException("Failed to get remote for local database"); |
| 42 | if (val == nullptr) |
| 43 | return nullptr; |
| 44 | return new Remote(val); |
| 45 | } |
| 46 | |
| 47 | |
| 48 | Ref<RemoteProject> BinaryNinja::Collaboration::GetRemoteProjectForLocalDatabase(Ref<Database> database) |
nothing calls this directly
no test coverage detected