[ type ] FileStat
Description:
An object returned by ui.fileStat(path), which contains information about a file or directory.
Type: Object
Properties:
| Name | Type | Description |
|---|---|---|
|
boolean | Indicates if the entry is a regular file |
|
boolean | Indicates if the entry is a directory |
|
boolean | Indicates if the entry is a symbolic link |
|
number | Device ID containing the file |
|
number | Device ID (if special file) |
|
number | Number of hard links |
|
number | User ID of the file owner |
|
number | Group ID of the file owner |
|
number | Size of the file in bytes |
|
number | File mode (permissions and file type) |
|
Date | Last access time |
|
Date | Last modification time (e.g. 2025-11-10T08:13:44.386Z) |
|
Date | Last status change time (e.g. 2025-11-10T08:13:44.386Z) |
|
Date | File creation time (e.g. 2025-11-10T08:13:44.386Z) |
