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

Method do_invoke

tools/gef.py:5529–5536  ·  view source on GitHub ↗
(self, argv: List[str])

Source from the content-addressed store, hash-verified

5527 return
5528
5529 def do_invoke(self, argv: List[str]) -> None:
5530 if len(argv) == 0:
5531 self.usage()
5532 return
5533
5534 modname, structname = self.explode_type(argv[0])
5535 self.__create_or_edit_structure(modname, structname)
5536 return
5537
5538 def __create_or_edit_structure(self, mod_name: str, struct_name: str) -> int:
5539 path = pathlib.Path(gef.config["pcustom.struct_path"]).expanduser() / f"{mod_name}.py"

Callers

nothing calls this directly

Calls 3

usageMethod · 0.80
explode_typeMethod · 0.80

Tested by

no test coverage detected