Desciprtion of the file
(&self)
| 203 | |
| 204 | /// Desciprtion of the file |
| 205 | pub fn description(&self) -> BnString { |
| 206 | let result = unsafe { BNRemoteFileGetDescription(self.handle.as_ptr()) }; |
| 207 | assert!(!result.is_null()); |
| 208 | unsafe { BnString::from_raw(result) } |
| 209 | } |
| 210 | |
| 211 | /// Set the description of the file. You will need to push the file to update the remote version. |
| 212 | pub fn set_description<S: BnStrCompatible>(&self, description: S) -> Result<(), ()> { |