std.file.DirEntry.attributes
- multiple declarations
Function DirEntry.attributes
Returns the attributes of the file represented by this DirEntry
.
uint attributes() @property @safe;
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.
Function DirEntry.attributes
Returns the attributes of the file represented by this DirEntry
.
uint attributes() @property @safe;
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.