DirEntryInfo class
DirEntryInfo class
Section titled “DirEntryInfo class”PathInfo implementation that wraps a Node Dirent.
Signature:
export declare class DirEntryInfo extends PathInfoBaseExtends: PathInfoBase
Remarks
Section titled “Remarks”Populated when directory entries are generated via fs.readdir({ withFileTypes: true }). The class stores the original dirent and optionally the parent path, exposing cached stat information where possible to reduce redundant filesystem calls during iteration.
Constructors
Section titled “Constructors”|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Methods
Section titled “Methods”|
Method |
Modifiers |
Description |
|---|---|---|