MCPcopy
hub / github.com/jesseduffield/lazygit / ConfirmDiscardLines

Method ConfirmDiscardLines

pkg/integration/components/common.go:55–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (self *Common) ConfirmDiscardLines() {
56 self.t.ExpectPopup().Confirmation().
57 Title(Equals("Discard change")).
58 Content(Contains("Are you sure you want to discard this change")).
59 Confirm()
60}
61
62func (self *Common) SelectPatchOption(matcher *TextMatcher) {
63 self.t.GlobalPress(self.t.keys.Universal.CreatePatchOptionsMenu)

Callers 3

stage_hunks.goFile · 0.80
stage_ranges.goFile · 0.80

Calls 7

EqualsFunction · 0.85
ContainsFunction · 0.85
ExpectPopupMethod · 0.80
ConfirmMethod · 0.65
TitleMethod · 0.65
ContentMethod · 0.45
ConfirmationMethod · 0.45

Tested by

no test coverage detected