chickadee » augeas » aug-save!

aug-save! a #!optional modeprocedure

Writes all pending changes to disk. Raises an error on failure, returns an unspecified value on success.

The optional save mode may be any of:

#f or omittedUse the save mode passed to aug-init!
overwriteOverwrite the original file
backupCopy the original file to file.augsave, then overwrite the original file
newfileSave changes into file.augnew; do not overwrite original file
noopMake save a no-op process, just record what would have changed into /augeas/events/saved