import { type Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.ns.d.ts";
const { DirEntry } = Deno;
Information about a directory entry returned from Deno.readDir
and Deno.readDirSync
.
Properties
The file name of the entry. It is just the entity name and does not include the full path.
True if this is info for a regular file. Mutually exclusive to
DirEntry.isDirectory
and DirEntry.isSymlink
.
True if this is info for a regular directory. Mutually exclusive to
DirEntry.isFile
and DirEntry.isSymlink
.