MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / try_lock_deferred_tree

Method try_lock_deferred_tree

atomic-repository/src/repository/locks.rs:507–511  ·  view source on GitHub ↗

Acquire the repository deferred-tree lock after entering the write stage.

(
        self,
    )

Source from the content-addressed store, hash-verified

505
506 /// Acquire the repository deferred-tree lock after entering the write stage.
507 pub(super) fn try_lock_deferred_tree(
508 self,
509 ) -> Result<FinalResourceWriteTxn<'a>, RepositoryError> {
510 self.try_lock_final_resource(FinalResource::DeferredTree)
511 }
512
513 fn try_lock_final_resource(
514 self,

Calls 1