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

Method try_lock_deferred_tree

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

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

(
        self,
    )

Source from the content-addressed store, hash-verified

480
481 /// Acquire the repository deferred-tree lock after entering the write stage.
482 pub(super) fn try_lock_deferred_tree(
483 self,
484 ) -> Result<FinalResourceWriteTxn<'a>, RepositoryError> {
485 self.try_lock_final_resource(FinalResource::DeferredTree)
486 }
487
488 fn try_lock_final_resource(
489 self,

Calls 1