pub fn save(catalog: &Catalog, path: &Path) -> Result<(), StoreError>Expand description
Saves the catalog atomically, after preserving its independent conclusions.
The caller must hold the data-directory writer lock for the whole read/modify/save operation. Legacy conclusions are migrated here, not by readers; the legacy catalog stays untouched if the migration fails.