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

Method Confirm

pkg/gui/types/common.go:135–135  ·  view source on GitHub ↗

Shows a popup asking the user for confirmation.

(opts ConfirmOpts)

Source from the content-addressed store, hash-verified

133 Alert(title string, message string)
134 // Shows a popup asking the user for confirmation.
135 Confirm(opts ConfirmOpts)
136 // Shows a popup asking the user for confirmation if condition is true; otherwise, the HandleConfirm function is called directly.
137 ConfirmIf(condition bool, opts ConfirmOpts) error
138 // Shows a popup prompting the user for input.

Callers 15

SwitchToEditorMethod · 0.65
FilterOrSearchMethod · 0.65
AddCoAuthorMethod · 0.65
ContinueMergeMethod · 0.65
AbortRebaseMethod · 0.65
AbortMergeMethod · 0.65
AcknowledgeConflictsMethod · 0.65
ConfirmDiscardLinesMethod · 0.65
SelectPatchOptionMethod · 0.65
ResetBisectMethod · 0.65
ResetCustomPatchMethod · 0.65

Implementers 1

PopupHandlerpkg/gui/popup/popup_handler.go

Calls

no outgoing calls

Tested by

no test coverage detected