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

Method common_alias

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

A same-thread alias of the embedded common guard (CB-10A review R6): callers nested in a workspace transaction build their own mapping operations under the held boundary without a second flock.

(&self)

Source from the content-addressed store, hash-verified

416 /// callers nested in a workspace transaction build their own mapping
417 /// operations under the held boundary without a second flock.
418 pub(super) fn common_alias(&self) -> RepositoryCommonLockGuard {
419 self.common.alias()
420 }
421
422 /// Begin a pristine write only after both nonblocking file locks are held.
423 ///

Callers 1

common_lock_aliasMethod · 0.80

Calls 1

aliasMethod · 0.80

Tested by

no test coverage detected