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

Method default_repository

rust/src/repository/manager.rs:92–96  ·  view source on GitHub ↗

Gets the default [`Repository`]

(&self)

Source from the content-addressed store, hash-verified

90
91 /// Gets the default [`Repository`]
92 pub fn default_repository(&self) -> Ref<Repository> {
93 let result = unsafe { BNRepositoryManagerGetDefaultRepository(self.handle.as_ptr()) };
94 assert!(!result.is_null());
95 unsafe { Repository::ref_from_raw(NonNull::new(result).unwrap()) }
96 }
97}
98
99impl Debug for RepositoryManager {

Callers 1

test_listFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_listFunction · 0.36