MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / DownloadDatabaseForFile

Method DownloadDatabaseForFile

collaboration.cpp:273–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271
272
273void 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
283void BinaryNinja::Collaboration::SetSnapshotAuthor(Ref<Database> database, Ref<Snapshot> snapshot, const std::string& author)

Callers

nothing calls this directly

Calls 2

RemoteExceptionClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected