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

Method get_for_binaryview

rust/src/collaboration/project.rs:76–82  ·  view source on GitHub ↗

Get the Remote Project for a BinaryView

(bv: &BinaryView)

Source from the content-addressed store, hash-verified

74
75 /// Get the Remote Project for a BinaryView
76 pub fn get_for_binaryview(bv: &BinaryView) -> Result<Option<Ref<Self>>, ()> {
77 let file = bv.file();
78 let Some(database) = file.database() else {
79 return Ok(None);
80 };
81 Self::get_for_local_database(&database)
82 }
83
84 /// Get the core [`Project`] for the remote project.
85 ///

Callers

nothing calls this directly

Calls 2

fileMethod · 0.45
databaseMethod · 0.45

Tested by

no test coverage detected