Struct FsEvent< details::UVFsType::FSTAT >

Synopsis

#include <src/uvw/fs.h>

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

Description

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

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

Methods

FsEvent

Source

Lines 251-259 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::FSTAT> {
    FsEvent(const char *pathname, Stat curr) noexcept
        : path{pathname}, stat{std::move(curr)}
    {}

    const char * path; /*!< The path affecting the request. */
    Stat stat; /*!< An initialized instance of Stat. */
};





Add Discussion as Guest

Log in