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

Function print_project_info

python/collaboration/examples/multitool.py:58–70  ·  view source on GitHub ↗
(project: RemoteProject, extended=False)

Source from the content-addressed store, hash-verified

56 print(f"{remote.name} @ {remote.address} (id: ???)")
57
58def print_project_info(project: RemoteProject, extended=False):
59 if extended:
60 print(f"Name: {project.name}\n"
61 f"Description: {project.description}\n"
62 f"Id: {project.id}\n"
63 f"Url: {project.url}\n"
64 f"Created date: {project.created}\n"
65 f"Last modified date: {project.last_modified}\n"
66 f"Default path on disk: {project.default_path}\n"
67 f"Is admin: {project.is_admin}\n"
68 f"File count: {len(project.files)}")
69 else:
70 print(f"{project.remote.name}/{project.name} @ {project.url} (id: {project.id})")
71
72def print_file_info(file: RemoteFile, extended=False):
73 if extended:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected