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

Method get_for_local_database

rust/src/collaboration/project.rs:67–73  ·  view source on GitHub ↗

Get the Remote Project for a Database

(database: &Database)

Source from the content-addressed store, hash-verified

65
66 /// Get the Remote Project for a Database
67 pub fn get_for_local_database(database: &Database) -> Result<Option<Ref<Self>>, ()> {
68 // TODO: This sync should be removed?
69 if sync::pull_projects(database)? {
70 return Ok(None);
71 }
72 sync::get_remote_project_for_local_database(database)
73 }
74
75 /// Get the Remote Project for a BinaryView
76 pub fn get_for_binaryview(bv: &BinaryView) -> Result<Option<Ref<Self>>, ()> {

Callers

nothing calls this directly

Calls 2

pull_projectsFunction · 0.85

Tested by

no test coverage detected