Skip to main content

worktree_missing_reason

Function worktree_missing_reason 

Source
pub fn worktree_missing_reason(path: &Path) -> Option<String>
Expand description

Why the worktree a git worker’s spawn put it in is not usable, or None when it is there and git can read it.

The spawn-time check runs before creation; this is the read after it. A tree that went away before the session connected otherwise leaves the worker reading live with nowhere to work (#1593).