Skip to main content

FileNode

Represents a node in the file system tree

Properties

children?

optional children: FileNode[];

Child nodes (only present for folders)


id

id: string;

Unique identifier for the node


name

name: string;

Display name of the file or folder


path

path: string;

Absolute path of the node in the file system


type

type: "file" | "folder";

Whether the node is a file or folder