Skip to main content

enqueue

Function enqueue 

Source
pub fn enqueue(repo_root: &Path, entry: QueueEntry) -> Result<QueueEntry>
Expand description

Enqueue a mission. The entry’s seq is assigned here from the monotonic counter (any incoming seq is overwritten). Write is atomic (temp + rename). A no-op if the mission is already queued.