pub fn record_operation( repo_root: &Path, operation: &str, description: &str, before_snapshot: &str, after_snapshot: &str, ) -> Result<(), LitError>
Record an operation in the log (called by other commands)