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

Method GetRemoteForLocalDatabase

collaboration.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37Ref<Remote> BinaryNinja::Collaboration::GetRemoteForLocalDatabase(Ref<Database> database)
38{
39 BNRemote* val;
40 if (!BNCollaborationGetRemoteForLocalDatabase(database->m_object, &val))
41 throw RemoteException("Failed to get remote for local database");
42 if (val == nullptr)
43 return nullptr;
44 return new Remote(val);
45}
46
47
48Ref<RemoteProject> BinaryNinja::Collaboration::GetRemoteProjectForLocalDatabase(Ref<Database> database)

Callers

nothing calls this directly

Calls 1

RemoteExceptionClass · 0.85

Tested by

no test coverage detected