DirEntryInfo.(constructor)
pathlib-ts > DirEntryInfo > (constructor)
DirEntryInfo.(constructor)
Section titled “DirEntryInfo.(constructor)”Constructs a new instance of the DirEntryInfo class
Signature:
constructor(entry: (fs.Dirent & { path?: string; }) | null, parentPath?: string);Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
entry |
(fs.Dirent & { path?: string; }) | null | |
|
parentPath |
string |
(Optional) |