Get the project that owns this file :return: Project that owns this file
(self)
| 84 | |
| 85 | @property |
| 86 | def project(self) -> 'Project': |
| 87 | """ |
| 88 | Get the project that owns this file |
| 89 | |
| 90 | :return: Project that owns this file |
| 91 | """ |
| 92 | proj_handle = core.BNProjectFileGetProject(self._handle) |
| 93 | |
| 94 | if proj_handle is None: |
| 95 | raise ProjectException("Failed to get project for file") |
| 96 | |
| 97 | return Project(handle=proj_handle) |
| 98 | |
| 99 | @property |
| 100 | def path_on_disk(self) -> str: |
nothing calls this directly
no test coverage detected