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

Method GetRemoteProjectForLocalDatabase

collaboration.cpp:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48Ref<RemoteProject> BinaryNinja::Collaboration::GetRemoteProjectForLocalDatabase(Ref<Database> database)
49{
50 BNRemoteProject* val;
51 if (!BNCollaborationGetRemoteProjectForLocalDatabase(database->m_object, &val))
52 throw RemoteException("Failed to get remote project for local database");
53 if (val == nullptr)
54 return nullptr;
55 return new RemoteProject(val);
56}
57
58
59Ref<RemoteFile> BinaryNinja::Collaboration::GetRemoteFileForLocalDatabase(Ref<Database> database)

Callers

nothing calls this directly

Calls 1

RemoteExceptionClass · 0.85

Tested by

no test coverage detected