Returns the attributes of the file represented by this DirEntry.
Note that the file attributes on Windows and POSIX systems are
completely different. On, Windows, they're what is returned by
GetFileAttributesGetFileAttributes
Whereas, an POSIX systems, they're the st_mode value which is
part of the stat struct gotten by calling stat.
On POSIX systems, if the file represented by this DirEntry is a
symbolic link, then attributes are the attributes of the file
pointed to by the symbolic link.
Returns the attributes of the file represented by this DirEntry.
Note that the file attributes on Windows and POSIX systems are completely different. On, Windows, they're what is returned by GetFileAttributes GetFileAttributes Whereas, an POSIX systems, they're the st_mode value which is part of the stat struct gotten by calling stat.
On POSIX systems, if the file represented by this DirEntry is a symbolic link, then attributes are the attributes of the file pointed to by the symbolic link.