pub fn write(baseline: &Baseline, path: &Path) -> Result<(), BaselineError>Expand description
Write a baseline as pretty-printed JSON with a trailing newline.
ยงErrors
Returns BaselineError::Io if the file cannot be serialized or written.
pub fn write(baseline: &Baseline, path: &Path) -> Result<(), BaselineError>Write a baseline as pretty-printed JSON with a trailing newline.
Returns BaselineError::Io if the file cannot be serialized or written.