Get the project that owns this file
(&self)
| 29 | |
| 30 | /// Get the project that owns this file |
| 31 | pub fn project(&self) -> Ref<Project> { |
| 32 | unsafe { |
| 33 | Project::ref_from_raw( |
| 34 | NonNull::new(BNProjectFileGetProject(self.handle.as_ptr())).unwrap(), |
| 35 | ) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /// Get the path on disk to this file's contents |
| 40 | pub fn path_on_disk(&self) -> BnString { |