blessed-components - v1.20.0
    Preparing search index...

    Interface FileTreeNode

    File-specific tree node.

    interface FileTreeNode {
        children?: readonly FileTreeNode[];
        disabled?: boolean;
        gitStatus?:
            | "conflict"
            | "deleted"
            | "ignored"
            | "modified"
            | "staged"
            | "untracked";
        id: string;
        kind: "directory"
        | "file";
        label: string;
    }
    Index

    Properties

    children?: readonly FileTreeNode[]

    Child nodes. Directories may omit children when collapsed or unloaded.

    disabled?: boolean

    Whether navigation and selection must skip this node.

    gitStatus?:
        | "conflict"
        | "deleted"
        | "ignored"
        | "modified"
        | "staged"
        | "untracked"

    Optional git status marker.

    id: string

    Stable node identifier, usually a path.

    kind: "directory" | "file"

    File or directory kind.

    label: string

    Display name.