Get the Remote Project for a BinaryView
(bv: &BinaryView)
| 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 | /// |