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.