| 136 | |
| 137 | |
| 138 | Ref<CollabSnapshot> BinaryNinja::Collaboration::GetRemoteSnapshotFromLocal(Ref<Snapshot> snapshot) |
| 139 | { |
| 140 | BNCollaborationSnapshot* val; |
| 141 | if (!BNCollaborationGetRemoteSnapshotFromLocal(snapshot->m_object, &val)) |
| 142 | throw RemoteException("Failed to get remote snapshot for local snapshot"); |
| 143 | if (val == nullptr) |
| 144 | return nullptr; |
| 145 | return new CollabSnapshot(val); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | Ref<Snapshot> BinaryNinja::Collaboration::GetLocalSnapshotFromRemote(Ref<CollabSnapshot> snapshot, Ref<Database> database) |
nothing calls this directly
no test coverage detected