Skip to main content

goes_ahead

Function goes_ahead 

Source
pub fn goes_ahead(
    question: Option<&Question>,
    confirm: impl FnOnce(&str) -> Option<bool>,
) -> bool
Expand description

Whether the quit goes ahead: always, unless there is a question and the person answers it with “keep running”. confirm is None when no dialog could be shown.