| 271 | |
| 272 | |
| 273 | void BinaryNinja::Collaboration::DownloadDatabaseForFile(Ref<RemoteFile> file, const std::string& dbPath, bool force, ProgressFunction progress) |
| 274 | { |
| 275 | ProgressContext pctxt; |
| 276 | pctxt.callback = progress; |
| 277 | |
| 278 | if (!BNCollaborationDownloadDatabaseForFile(file->m_object, dbPath.c_str(), force, ProgressCallback, &pctxt)) |
| 279 | throw RemoteException("Failed to download database for file"); |
| 280 | } |
| 281 | |
| 282 | |
| 283 | void BinaryNinja::Collaboration::SetSnapshotAuthor(Ref<Database> database, Ref<Snapshot> snapshot, const std::string& author) |
nothing calls this directly
no test coverage detected