Directory entry.
A wrapper around dirent system type.
public dirent_typeoperator=(const directory_entry & rhs) -> directory_entry &Copy-assignment.
operator<(const directory_entry & rhs) const -> boolCompare entry file names.
operator!=(const directory_entry & rhs) const -> boolCompare entry file names.
operator==(const directory_entry & rhs) const -> boolCompare entry file names.
is_hidden() const -> boolReturns true, if the file is hidden (starts with a ".").
is_parent_dir() const -> boolReturns true, if entry refers to the parent directory "..".
is_working_dir() const -> boolReturns true, if entry refers to the current directory ".".
has_type() const -> boolReturns true, if entry has file type.
type() const -> file_typeGet entry file type. Directory entry may not have file type set. Always check with has_type.
inode() const -> inode_typeGet entry inode number.
name() const -> const char *Get entry file name.
~directory_entry()directory_entry(directory_entry &&)Move-constructor.
directory_entry(const directory_entry &)Copy-constructor.
directory_entry()get_file_type(const path & dirname, const directory_entry & entry) -> file_type
Reliably get file type of a directory entry.
Falls back to file_status if directory entry itself does not have valid file type.
entry is located