Skip to main content

commit_manifest_edit

Function commit_manifest_edit 

Source
pub fn commit_manifest_edit(
    manifest_path: &Path,
    edit: &ManifestEdit,
) -> Result<ManifestWriteReport, ManifestEditError>
Expand description

Commits a preview with backup, concurrent-change detection, and atomic replacement.

ยงErrors

Returns ManifestEditError when the source changed, backup creation fails, or the atomic replacement cannot be committed.