Variable WorktreeConditionsConst
WorktreeConditions: {
Identity: "git-identity";
Listed: "path-listed";
Locked: "is-locked";
OnBranch: "on-branch";
Present: "directory-present";
} = ...
Type Declaration
-
ReadonlyIdentity: "git-identity"
-
ReadonlyListed: "path-listed"
-
ReadonlyLocked: "is-locked"
-
ReadonlyOnBranch: "on-branch"
-
ReadonlyPresent: "directory-present"
The conditions of the startup check (design "Startup check", owner ruling 5 on B11a): the recorded path is listed, a directory is present there, that directory has the recorded git identity, it is on
refs/heads/<branch>, and it is locked. A listed registration alone does not show the worktree exists. Values are spelled so they cannot be mistaken for porcelain keys.