DirEntry.name

Returns the path to the file represented by this DirEntry.

struct DirEntry
@safe @property const return scope
string
name
()

Examples

auto de1 = DirEntry("/etc/fonts/fonts.conf");
assert(de1.name == "/etc/fonts/fonts.conf");

auto de2 = DirEntry("/usr/share/include");
assert(de2.name == "/usr/share/include");

Meta