pub fn get_sandbox_id(
corpus_id: i32,
sandboxes: &SandboxCache,
) -> Option<Option<i32>>Expand description
Getter for a corpus’s sandbox id from the shared SandboxCache, with no DB access — the
sink’s read on the result path. Some(None) is an ordinary corpus, Some(Some(id)) a sandbox,
and None unknown (the lookup failed): the sink then writes nothing and hands the task
back to the reaper, never guessing the parent’s archive name.