Try to enter the common and per-working-copy operation scopes in order.
(
&self,
working_copy: WorkingCopyId,
)
| 363 | |
| 364 | /// Try to enter the common and per-working-copy operation scopes in order. |
| 365 | pub(super) fn try_lock_operation( |
| 366 | &self, |
| 367 | working_copy: WorkingCopyId, |
| 368 | ) -> Result<WorkingCopyOperationLockGuard, RepositoryError> { |
| 369 | self.validate_working_copy(working_copy)?; |
| 370 | self.try_lock_common_operation()? |
| 371 | .try_lock_working_copy(working_copy) |
| 372 | } |
| 373 | |
| 374 | /// Enter the operation hierarchy as a workspace transaction owner. |
| 375 | /// |