Constructor
new CFileInfo(filename, isDirectory, isFile, isSymLink, size)
Constructor for the class.
Parameters:
Name | Type | Description |
---|---|---|
filename |
string | The filename to include full path. |
isDirectory |
boolean | true if directory, false otherwise. |
isFile |
boolean | true if file, false otherwise. |
isSymLink |
boolean | true if symbolic link, false otherwise. |
size |
number | Size of the file in bytes on disk. |
- Source:
Members
(readonly) filename :string
The name of the file on disk.
Type:
- string
- Source:
(readonly) isDirectory :boolean
Is a directory or not.
Type:
- boolean
- Source:
(readonly) isFile :boolean
Is a file or not.
Type:
- boolean
- Source:
(readonly) isSymLink :boolean
If symbolic link or not.
Type:
- boolean
- Source:
(readonly) size :number
Size of file on disk.
Type:
- number
- Source: