Retrieve a folder in the project by unique id :param id: Unique identifier for a folder :return: Folder with the requested id or None
(self, id: str)
| 538 | core.BNFreeProjectFolderList(value, count.value) |
| 539 | |
| 540 | def get_folder_by_id(self, id: str) -> Optional[ProjectFolder]: |
| 541 | """ |
| 542 | Retrieve a folder in the project by unique id |
| 543 | |
| 544 | :param id: Unique identifier for a folder |
| 545 | :return: Folder with the requested id or None |
| 546 | """ |
| 547 | handle = core.BNProjectGetFolderById(self._handle, id) |
| 548 | if handle is None: |
| 549 | return None |
| 550 | folder = ProjectFolder(handle) |
| 551 | return folder |
| 552 | |
| 553 | def delete_folder(self, folder: ProjectFolder, progress_func: ProgressFuncType = _nop) -> bool: |
| 554 | """ |
nothing calls this directly
no test coverage detected