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

Method pull_folders

python/collaboration/project.py:499–512  ·  view source on GitHub ↗

Pull the list of folders from the Remote. .. note:: If the project has not been opened, it will be opened upon calling this. :param progress: Function to call for progress updates :raises: RuntimeError if there was an error pulling folders

(self, progress: 'util.ProgressFuncType' = util.nop)

Source from the content-addressed store, hash-verified

497 return folder.RemoteFolder(value)
498
499 def pull_folders(self, progress: 'util.ProgressFuncType' = util.nop):
500 """
501 Pull the list of folders from the Remote.
502
503 .. note:: If the project has not been opened, it will be opened upon calling this.
504
505 :param progress: Function to call for progress updates
506 :raises: RuntimeError if there was an error pulling folders
507 """
508 if not self.open():
509 raise RuntimeError("Failed to open project")
510
511 if not core.BNRemoteProjectPullFolders(self._handle, util.wrap_progress(progress), None):
512 raise RuntimeError(util._last_error())
513
514 def create_folder(self, name: str, description: str, parent: Optional['folder.RemoteFolder'] = None, progress: 'util.ProgressFuncType' = util.nop) -> 'folder.RemoteFolder':
515 """

Callers 6

pull_filesMethod · 0.95
foldersMethod · 0.95
get_folder_by_idMethod · 0.95
parentMethod · 0.45
folderMethod · 0.45
mainFunction · 0.45

Calls 1

openMethod · 0.95

Tested by

no test coverage detected