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

Method folder

python/project.py:163–172  ·  view source on GitHub ↗

Get the folder that contains this file :return: Folder that contains this file, or None

(self)

Source from the content-addressed store, hash-verified

161
162 @property
163 def folder(self) -> Optional['ProjectFolder']:
164 """
165 Get the folder that contains this file
166
167 :return: Folder that contains this file, or None
168 """
169 folder_handle = core.BNProjectFileGetFolder(self._handle)
170 if folder_handle is None:
171 return None
172 return ProjectFolder(handle=folder_handle)
173
174 @folder.setter
175 def folder(self, new_folder: Optional['ProjectFolder']) -> bool:

Callers

nothing calls this directly

Calls 1

ProjectFolderClass · 0.70

Tested by

no test coverage detected