Execute one planned filesystem effect and append its leased receipt.
(
&self,
operation_lock: &WorkingCopyOperationLockGuard,
operation_id: atomic_core::OperationId,
ordinal: u32,
content: Option<&[u8]>,
)
| 1527 | |
| 1528 | /// Execute one planned filesystem effect and append its leased receipt. |
| 1529 | pub(super) fn execute_and_record_effect( |
| 1530 | &self, |
| 1531 | operation_lock: &WorkingCopyOperationLockGuard, |
| 1532 | operation_id: atomic_core::OperationId, |
| 1533 | ordinal: u32, |
| 1534 | content: Option<&[u8]>, |
| 1535 | ) -> Result<(), RepositoryError> { |
| 1536 | let pending = |
| 1537 | self.execute_filesystem_effect(operation_lock, operation_id, ordinal, content)?; |
| 1538 | self.record_pending_filesystem_effect(operation_lock, operation_id, pending)?; |
| 1539 | Ok(()) |
| 1540 | } |
| 1541 | |
| 1542 | /// R2: prove the pre-adoption worktree state before any mutation, and |
| 1543 | /// return the proven per-path observations. |
no test coverage detected