FSM state for the file tree delete confirmation prompt.
Holds the path being deleted, whether it's a directory, and the child count (for directory prompts). Also tracks whether this is the initial trash prompt or the permanent-delete fallback prompt.
Summary
Functions
Creates a new delete confirm state for the given file tree entry.
Transitions to the permanent delete fallback prompt.
Types
@type phase() :: :trash | :permanent
@type t() :: %Minga.Mode.DeleteConfirmState{ child_count: non_neg_integer(), count: non_neg_integer() | nil, dir?: boolean(), name: String.t(), path: String.t(), phase: phase() }