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

Method file

rust/src/collaboration/undo.rs:39–43  ·  view source on GitHub ↗

Owning File

(&self)

Source from the content-addressed store, hash-verified

37
38 /// Owning File
39 pub fn file(&self) -> Result<Ref<RemoteFile>, ()> {
40 let value = unsafe { BNCollaborationUndoEntryGetFile(self.handle.as_ptr()) };
41 let handle = NonNull::new(value).ok_or(())?;
42 Ok(unsafe { RemoteFile::ref_from_raw(handle) })
43 }
44
45 /// Owning Project
46 pub fn project(&self) -> Result<Ref<RemoteProject>, ()> {

Callers 3

get_for_binary_viewMethod · 0.45
get_for_binaryviewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected