MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / StartCleanConfirmation

Method StartCleanConfirmation

internal/tui/picker.go:353–364  ·  view source on GitHub ↗

StartCleanConfirmation opens the clean confirmation dialog for the selected entry.

()

Source from the content-addressed store, hash-verified

351
352// StartCleanConfirmation opens the clean confirmation dialog for the selected entry.
353func (p *PRDPicker) StartCleanConfirmation() {
354 entry := p.GetSelectedEntry()
355 if entry == nil {
356 return
357 }
358 p.cleanConfirmation = &CleanConfirmation{
359 EntryName: entry.Name,
360 Branch: entry.Branch,
361 WorktreeDir: p.worktreeDisplayPath(*entry),
362 SelectedIdx: 0,
363 }
364}
365
366// CancelCleanConfirmation closes the clean confirmation dialog.
367func (p *PRDPicker) CancelCleanConfirmation() {

Callers 6

handleCompletionKeysMethod · 0.80
handlePickerKeysMethod · 0.80

Calls 2

GetSelectedEntryMethod · 0.95
worktreeDisplayPathMethod · 0.95