Skip to main content

read_final_output

Function read_final_output 

Source
pub fn read_final_output(run_id: &str) -> Option<FinalOutput>
Expand description

Read a run’s final output, content included.

The descriptor in meta.json says whether there is one and how big it is; this fetches the bytes from the sidecar beside it. Returns None when the run produced no answer, or when the sidecar is missing (a run written by a build that stored the answer inline, or one whose directory was pruned).