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

Method parent

python/project.py:281–290  ·  view source on GitHub ↗

Get the parent folder of this folder :return: Folder that contains this folder, or None if it is a root folder

(self)

Source from the content-addressed store, hash-verified

279
280 @property
281 def parent(self) -> Optional['ProjectFolder']:
282 """
283 Get the parent folder of this folder
284
285 :return: Folder that contains this folder, or None if it is a root folder
286 """
287 folder_handle = core.BNProjectFolderGetParent(self._handle)
288 if folder_handle is None:
289 return None
290 return ProjectFolder(handle=folder_handle)
291
292 @parent.setter
293 def parent(self, new_parent: Optional['ProjectFolder']) -> bool:

Callers

nothing calls this directly

Calls 1

ProjectFolderClass · 0.70

Tested by

no test coverage detected