tarlatan
    Preparing search index...

    Variable WorktreeEntryConst

    WorktreeEntry: Struct<
        {
            bare: Boolean;
            branch: Option<String>;
            detached: Boolean;
            head: Option<brand<String, "Revision">>;
            lock: Option<Struct<{ reason: Option<String> }>>;
            path: String;
        },
    > = ...

    One entry of git worktree list --porcelain -z. branch is the full ref (refs/heads/...) and is none when the worktree is detached or bare; head is none for a bare entry; lock is none when not locked.