MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / print_files

Method print_files

plain2code_console.py:65–75  ·  view source on GitHub ↗
(self, header, root_folder, files, style=None)

Source from the content-addressed store, hash-verified

63 super().print(f"{item}", style=style)
64
65 def print_files(self, header, root_folder, files, style=None):
66 if not files:
67 return
68
69 logger.debug(f"{header} {', '.join(files.keys())}")
70 tree = self._create_tree_from_files(root_folder, files)
71 super().print(f"\n{header}", style=style)
72
73 super().print(tree, style=style)
74
75 super().print()
76
77 def _create_tree_from_files(self, root_folder, files):
78 """

Callers 8

print_inputsFunction · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80
executeMethod · 0.80

Calls 2

debugMethod · 0.80

Tested by 5

executeMethod · 0.64
executeMethod · 0.64