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

Method construct

src/git_sim/stash.py:58–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 self.cmd += f"{type(self).__name__.lower()} {self.command.value if self.command else ''} {' '.join(self.files) if not self.no_files else ''}"
57
58 def construct(self):
59 if not settings.stdout and not settings.output_only_path and not settings.quiet:
60 print(f"{settings.INFO_STRING} {self.cmd}")
61
62 self.show_intro()
63 self.parse_commits()
64 self.recenter_frame()
65 self.scale_frame()
66 self.vsplit_frame()
67 self.setup_and_draw_zones(
68 first_column_name="Working directory",
69 second_column_name="Staging area",
70 third_column_name="Stashed changes",
71 )
72 self.show_command_as_title()
73 self.fadeout()
74 self.show_outro()
75
76 def create_zone_text(
77 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