Struct FsEvent< details::UVFsType::SCANDIR >

Synopsis

#include <src/uvw/fs.h>

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

Description

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

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

Methods

FsEvent

Source

Lines 319-327 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::SCANDIR> {
    FsEvent(const char *pathname, std::size_t sz) noexcept
        : path{pathname}, size{sz}
    {}

    const char * path; /*!< The path affecting the request. */
    std::size_t size; /*!< The number of directory entries selected. */
};





Add Discussion as Guest

Log in