Try to enter the common and per-working-copy operation scopes in order.
(
&self,
working_copy: WorkingCopyId,
)
| 338 | |
| 339 | /// Try to enter the common and per-working-copy operation scopes in order. |
| 340 | pub(super) fn try_lock_operation( |
| 341 | &self, |
| 342 | working_copy: WorkingCopyId, |
| 343 | ) -> Result<WorkingCopyOperationLockGuard, RepositoryError> { |
| 344 | self.validate_working_copy(working_copy)?; |
| 345 | self.try_lock_common_operation()? |
| 346 | .try_lock_working_copy(working_copy) |
| 347 | } |
| 348 | |
| 349 | /// Enter the operation hierarchy as a workspace transaction owner. |
| 350 | /// |