interface DirEntry

An entry in a directory listing.

Properties

name: string

The entry's file name (not the full path).

isFile: boolean

Whether the entry is a regular file.

isDirectory: boolean

Whether the entry is a directory.

Usage

import { type DirEntry } from ".";