uint.getAttributes
Returns the attributes of the given file.
Note that the file attributes on Windows and POSIX systems are completely different. On Windows, they're what is returned by
GetFileAttributes, whereas on POSIX systems, they're thest_mode value which is part of the stat struct gotten by calling the stat function.
On POSIX systems, if the given file is a symbolic link, then attributes are the attributes of the file pointed to by the symbolic link.
Parameters
name | The file to get the attributes of. |
Returns
The attributes of the file as a
Throws
FileException on error.