Protect containing worktrees from deleting nested checkouts

This commit is contained in:
2026-11-06 21:29:14 +00:00
parent 18eec34f56
commit aa19c82156
4 changed files with 163 additions and 3 deletions
+1
View File
@@ -31,6 +31,7 @@ type storageWorktree struct {
ModifiedAt time.Time `json:"modified_at"`
Eligible bool `json:"eligible"`
Reason string `json:"reason,omitempty"`
knownRoots []string
locked bool
}