Type alias DirEntry

DirEntry: {
    name: string;
    type: "file" | "dir" | "unknown";
}

An entry in a Directory.

Type declaration

  • name: string

    What is the item's name? (the last component in the path)

  • type: "file" | "dir" | "unknown"

    What type of entry is this?

Generated using TypeDoc