Record all changes with a message. This is a convenience method that records all modified files. # Arguments `working_copy` - The validated physical working-copy identity `message` - The change message # Example ```rust,ignore let result = repo.record_all(working_copy, "Update all files")?; ```
(
&self,
working_copy: WorkingCopyId,
message: impl Into<String>,
)
| 4655 | /// let result = repo.record_all(working_copy, "Update all files")?; |
| 4656 | /// ``` |
| 4657 | pub fn record_all( |
| 4658 | &self, |
| 4659 | working_copy: WorkingCopyId, |
| 4660 | message: impl Into<String>, |
| 4661 | ) -> Result<RecordOutcome, RecordError> { |
| 4662 | self.validate_working_copy(working_copy) |
| 4663 | .map_err(RecordError::Repository)?; |
| 4664 | let options = RecordOptions::new().with_all(true); |
| 4665 | self.record_with_message(working_copy, message, options) |
| 4666 | } |
| 4667 | } |
| 4668 | |
| 4669 | #[allow(clippy::too_many_arguments)] |