MCPcopy Index your code
hub / github.com/initialcommit-com/git-sim / construct

Method construct

src/git_sim/rm.py:34–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

32 self.cmd += f"{type(self).__name__.lower()} {' '.join(self.files)}"
33
34 def construct(self):
35 if not settings.stdout and not settings.output_only_path and not settings.quiet:
36 print(f"{settings.INFO_STRING} {self.cmd}")
37
38 self.show_intro()
39 self.parse_commits()
40 self.recenter_frame()
41 self.scale_frame()
42 self.vsplit_frame()
43 self.setup_and_draw_zones(
44 first_column_name="Working directory",
45 second_column_name="Staging area",
46 third_column_name="Removed files",
47 )
48 self.show_command_as_title()
49 self.fadeout()
50 self.show_outro()
51
52 def create_zone_text(
53 self,

Callers

nothing calls this directly

Calls 9

show_introMethod · 0.80
parse_commitsMethod · 0.80
recenter_frameMethod · 0.80
scale_frameMethod · 0.80
vsplit_frameMethod · 0.80
setup_and_draw_zonesMethod · 0.80
show_command_as_titleMethod · 0.80
fadeoutMethod · 0.80
show_outroMethod · 0.80

Tested by

no test coverage detected