Skip to main content

read_manifest_opt

Function read_manifest_opt 

Source
pub fn read_manifest_opt(paths: &RunPaths) -> Result<Option<Manifest>>
Expand description

Read and schema-validate the run manifest, returning None if absent.

A present manifest whose run_id belongs to a foreign run is an error, not None: _opt means “missing file is fine”, not “corrupt file is absent”.