Skip to main content

tracker_commit_lock

Function tracker_commit_lock 

Source
pub fn tracker_commit_lock(dir: &Path) -> CommitLock
Expand description

Hold the tracker checkout that holds dir for one write to its index: a status read, a file write, an add and a commit, or a rebase. Every ljos writer on the host takes it, so seats queue instead of meeting on index.lock. Taking it twice in one thread waits forever.