libzypp  17.14.0
zypp::filesystem::DirEntry Struct Reference

Listentry returned by readdir. More...

#include <PathInfo.h>

Public Member Functions

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

Public Attributes

std::string name
 
FileType type
 

Detailed Description

Listentry returned by readdir.

Definition at line 532 of file PathInfo.h.

Constructor & Destructor Documentation

◆ DirEntry()

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

Definition at line 535 of file PathInfo.h.

Member Function Documentation

◆ operator==()

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

Definition at line 614 of file PathInfo.cc.

Member Data Documentation

◆ name

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

Definition at line 533 of file PathInfo.h.

◆ type

FileType zypp::filesystem::DirEntry::type

Definition at line 534 of file PathInfo.h.


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