pub fn save_project_with_data(
path: &Path,
snap: &ProjectSnapshot,
embedded: Option<&EmbeddedData<'_>>,
) -> Result<(), IoError>Expand description
Write a project snapshot with optional embedded raw data.
When embedded is Some, raw data arrays are written to /data/embedded/
and the mode attribute is set to "embedded". File paths in /data/links/
are always written for provenance.