Skip to main content

detect_queue_trigger

Function detect_queue_trigger 

Source
pub fn detect_queue_trigger(diff: &str) -> bool
Expand description

Detect whether the user wrote do queue or run queue in an added diff line.

Returns true when any user-added line (outside code fences/blockquotes) starts with one of these trigger phrases. Does NOT match do #queue (pending item reference) — only the bare component activation form.