Method
record_foreign_moved_file
(
&self,
view_name: &str,
new_path: &str,
old_path: &str,
old_content: &[u8],
new_content: &[u8],
force_whole_file_replace: bool,
)
Source from the content-addressed store, hash-verified
| 1534 | /// empty. |
| 1535 | #[allow(clippy::too_many_arguments)] |
| 1536 | pub fn record_foreign_moved_file( |
| 1537 | &self, |
| 1538 | view_name: &str, |
| 1539 | new_path: &str, |
| 1540 | old_path: &str, |
| 1541 | old_content: &[u8], |
| 1542 | new_content: &[u8], |
| 1543 | force_whole_file_replace: bool, |
| 1544 | ) -> Result<atomic_core::record::workflow::RecordedFile, String> { |
| 1545 | self.record_foreign_moved_file_excluding( |
| 1546 | view_name, |
| 1547 | new_path, |
| 1548 | old_path, |
| 1549 | old_content, |
| 1550 | new_content, |
| 1551 | force_whole_file_replace, |
| 1552 | &[], |
| 1553 | ) |
| 1554 | } |
| 1555 | |
| 1556 | /// Record a move against the same parent closure used by Git assembly. |
| 1557 | #[allow(clippy::too_many_arguments)] |