libzypp: zypp::filesystem::DirEntry Struct Reference

libzypp 17.38.10

zypp::filesystem::DirEntry Struct Reference

Listentry returned by readdir. More...

`#include <zypp-core/fs/PathInfo.h>`

## Public Member Functions
| DirEntry (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 517 of file PathInfo.h.

## Constructor & Destructor Documentation

## ◆ DirEntry() [1/2]

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

Definition at line 520 of file PathInfo.h.

## ◆ DirEntry() [2/2]

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

Definition at line 649 of file PathInfo.cc.

## Member Function Documentation

## ◆ operator==()

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

Definition at line 680 of file PathInfo.cc.

## Member Data Documentation

## ◆ name

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

Definition at line 518 of file PathInfo.h.

## ◆ type

FileType zypp::filesystem::DirEntry::type

Definition at line 519 of file PathInfo.h.

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

- zypp-core/fs/PathInfo.h
- zypp-core/fs/PathInfo.cc