libzypp 17.31.7
zypp::filesystem::DirEntry Struct Reference

Listentry returned by readdir. More...

#include <fs/PathInfo.h>

Public Member Functions

 DirEntry (const std::string &name_r=std::string(), FileType type_r=FT_NOT_AVAIL)
 DirEntry (struct dirent *entry)
bool operator== (const DirEntry &rhs) const

Public Attributes

std::string name
FileType type

Detailed Description

Listentry returned by readdir.

Definition at line 501 of file PathInfo.h.

Constructor & Destructor Documentation

◆ DirEntry() [1/2]

zypp::filesystem::DirEntry::DirEntry ( const std::string &  name_r = std::string(),
FileType  type_r = FT_NOT_AVAIL 

Definition at line 504 of file PathInfo.h.

◆ DirEntry() [2/2]

zypp::filesystem::DirEntry::DirEntry ( struct dirent *  entry)

Definition at line 630 of file

Member Function Documentation

◆ operator==()

bool zypp::filesystem::DirEntry::operator== ( const DirEntry rhs) const

Definition at line 661 of file

Member Data Documentation

◆ name

std::string zypp::filesystem::DirEntry::name

Definition at line 502 of file PathInfo.h.

◆ type

FileType zypp::filesystem::DirEntry::type

Definition at line 503 of file PathInfo.h.

The documentation for this struct was generated from the following files: