Skip to main content

socket_lock_path

Function socket_lock_path 

Source
pub fn socket_lock_path(base_dir: &Path, worktree_root: &Path) -> PathBuf
Expand description

Election lock for the grep-augment hook socket: one listener per worktree, separate from the watcher election so core never calls back into the MCP crate and either process may win each.