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

Method common_lock_alias

atomic-repository/src/repository/workspace_txn.rs:491–493  ·  view source on GitHub ↗

A same-thread alias of the held common operation lock (CB-10A review R6): journaled repository bookkeeping inside this workspace transaction borrows the boundary's locks instead of contending a fresh acquisition. Dropping the alias only decrements the nesting count.

(&self)

Source from the content-addressed store, hash-verified

489 /// fresh acquisition. Dropping the alias only decrements the nesting
490 /// count.
491 pub fn common_lock_alias(&self) -> crate::repository::locks::RepositoryCommonLockGuard {
492 self._operation_lock.common_alias()
493 }
494}
495
496/// Fixed-size entry phases. Their field order is the execution order.

Callers

nothing calls this directly

Calls 1

common_aliasMethod · 0.80

Tested by

no test coverage detected