Skip to main content

apply_override_answer

Function apply_override_answer 

Source
pub fn apply_override_answer(
    answer: OverrideAnswer,
    stale: &[StaleCopy],
    home: &Path,
    stamp: &str,
    declined_file: &Path,
) -> Result<String>
Expand description

Carries out answer for stale: moves the copies to a backup folder under home (named by stamp), removes them, or records the “no” in declined_file. Returns what it did, for the user.