Function save

Source
pub fn save(sources: &Sources, path: &Path) -> Result<(), StoreError>
Expand description

Writes the layer, atomically and pretty.

Pretty like user.json and unlike the catalog: this file is small, and it is one a user may want to open to see what was fetched and from where.