TODO: Make this a PathBuf? String full path the repository
(&self)
| 66 | // TODO: Make this a PathBuf? |
| 67 | /// String full path the repository |
| 68 | pub fn full_path(&self) -> BnString { |
| 69 | let result = unsafe { BNRepositoryGetPluginsPath(self.handle.as_ptr()) }; |
| 70 | assert!(!result.is_null()); |
| 71 | unsafe { BnString::from_raw(result as *mut c_char) } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | impl Debug for Repository { |