MCPcopy Create free account
hub / github.com/HexHive/NASS / do_invoke

Method do_invoke

tools/gef.py:5476–5486  ·  view source on GitHub ↗

Dump the list of all the structures and their respective.

(self, _: List)

Source from the content-addressed store, hash-verified

5474 return
5475
5476 def do_invoke(self, _: List) -> None:
5477 """Dump the list of all the structures and their respective."""
5478 manager = ExternalStructureManager()
5479 info(f"Listing custom structures from '{manager.path}'")
5480 struct_color = gef.config["pcustom.structure_type"]
5481 filename_color = gef.config["pcustom.structure_name"]
5482 for module in manager.modules.values():
5483 __modules = ", ".join([Color.colorify(structure_name, struct_color) for structure_name in module.values()])
5484 __filename = Color.colorify(str(module.path), filename_color)
5485 gef_print(f"{RIGHT_ARROW} {__filename} ({__modules})")
5486 return
5487
5488
5489@register

Callers

nothing calls this directly

Calls 5

infoFunction · 0.85
gef_printFunction · 0.85
joinMethod · 0.80
colorifyMethod · 0.80

Tested by

no test coverage detected