Skip to main content

maybe_nudge_sibling

Function maybe_nudge_sibling 

Source
pub fn maybe_nudge_sibling(
    spec: &SkillSpec,
    state_dir: &Path,
    suppressed: bool,
) -> Option<String>
Expand description

The one-time sibling suggestion, or None when it shouldn’t show (sibling already installed, already shown, or suppressed). Records the nudge when it returns Some, so it never repeats. Never blocks — it only gates a printed line.