List of [`Repository`] objects being managed
(&self)
| 43 | |
| 44 | /// List of [`Repository`] objects being managed |
| 45 | pub fn repositories(&self) -> Array<Repository> { |
| 46 | let mut count = 0; |
| 47 | let result = |
| 48 | unsafe { BNRepositoryManagerGetRepositories(self.handle.as_ptr(), &mut count) }; |
| 49 | assert!(!result.is_null()); |
| 50 | unsafe { Array::new(result, count, ()) } |
| 51 | } |
| 52 | |
| 53 | /// Adds a new plugin repository for the manager to track. |
| 54 | /// |