Skip to main content

load_and_validate_queues

Function load_and_validate_queues 

Source
pub fn load_and_validate_queues(
    resolved: &Resolved,
    include_done: bool,
) -> Result<(QueueFile, Option<QueueFile>)>
Expand description

Load the active queue and optionally the done queue, validating both.

This API is pure with respect to the filesystem: it may repair parseable JSON in memory, but it never rewrites queue/done files during the read.