MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / get_folder_by_id

Method get_folder_by_id

python/project.py:540–551  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 """

Callers

nothing calls this directly

Calls 1

ProjectFolderClass · 0.70

Tested by

no test coverage detected