DirEntry
import { DirEntry } from "jsr:@ende/fs/unstable-types";interface ยท experimental
interface DirEntryInformation about a directory entry returned from readDir
and readDirSync.
Properties
name
name: stringThe file name of the entry. It is just the entity name and does not include the full path.
isFile
isFile: booleanTrue if this is info for a regular file. Mutually exclusive to
FileInfo.isDirectory and FileInfo.isSymlink.
isDirectory
isDirectory: booleanTrue if this is info for a regular directory. Mutually exclusive to
FileInfo.isFile and FileInfo.isSymlink.
isSymlink
isSymlink: booleanTrue if this is info for a symlink. Mutually exclusive to
FileInfo.isFile and FileInfo.isDirectory.