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

Method name

rust/src/collaboration/file.rs:186–190  ·  view source on GitHub ↗

Displayed name of file

(&self)

Source from the content-addressed store, hash-verified

184
185 /// Displayed name of file
186 pub fn name(&self) -> BnString {
187 let result = unsafe { BNRemoteFileGetName(self.handle.as_ptr()) };
188 assert!(!result.is_null());
189 unsafe { BnString::from_raw(result) }
190 }
191
192 /// Set the description of the file. You will need to push the file to update the remote version.
193 pub fn set_name<S: BnStrCompatible>(&self, name: S) -> Result<(), ()> {

Callers 1

fmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected