Skip to content

DirEntryInfo.(constructor)

pathlib-ts > DirEntryInfo > (constructor)

Constructs a new instance of the DirEntryInfo class

Signature:

constructor(entry: (fs.Dirent & {
path?: string;
}) | null, parentPath?: string);

Parameter

Type

Description

entry

(fs.Dirent & { path?: string; }) | null

parentPath

string

(Optional)