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

Function active_remote

rust/src/collaboration.rs:50–53  ·  view source on GitHub ↗

Get the single actively connected Remote (for ux simplification), if any

()

Source from the content-addressed store, hash-verified

48
49/// Get the single actively connected Remote (for ux simplification), if any
50pub fn active_remote() -> Option<Ref<Remote>> {
51 let value = unsafe { BNCollaborationGetActiveRemote() };
52 NonNull::new(value).map(|h| unsafe { Remote::ref_from_raw(h) })
53}
54
55/// Set the single actively connected Remote
56pub fn set_active_remote(remote: Option<&Remote>) {

Callers 1

selected_remoteFunction · 0.50

Calls 1

mapMethod · 0.80

Tested by 1

selected_remoteFunction · 0.40