| 147 | |
| 148 | |
| 149 | Ref<Snapshot> BinaryNinja::Collaboration::GetLocalSnapshotFromRemote(Ref<CollabSnapshot> snapshot, Ref<Database> database) |
| 150 | { |
| 151 | BNSnapshot* val; |
| 152 | if (!BNCollaborationGetLocalSnapshotFromRemote(snapshot->m_object, database->m_object, &val)) |
| 153 | throw RemoteException("Failed to get local snapshot for remote snapshot"); |
| 154 | if (val == nullptr) |
| 155 | return nullptr; |
| 156 | return new Snapshot(val); |
| 157 | } |
| 158 | |
| 159 | |
| 160 | bool BinaryNinja::Collaboration::IsCollaborationTypeArchive(Ref<TypeArchive> archive) |
nothing calls this directly
no test coverage detected