Struct FsEvent< details::UVFsType::READDIR >

Synopsis

#include <src/uvw/fs.h>

template<>
struct FsEvent<details::UVFsType::READDIR>

Description

FsEvent event specialization for FsRequest::Type::READDIR.

It will be emitted by FsReq and/or FileReq according with their functionalities.

Methods

FsEvent

Source

Lines 354-365 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::READDIR> {
    using EntryType = details::UVDirentTypeT;

    FsEvent(const char *name, EntryType type, bool eos) noexcept
        : name{name}, type{type}, eos{eos}
    {}

    const char * name; /*!< The name of the last entry. */
    EntryType type; /*!< The entry type. */
    bool eos; /*!< True if there a no more entries to read. */
};





Add Discussion as Guest

Log in