Struct FsEvent< details::UVFsType::STATFS >

Synopsis

#include <src/uvw/fs.h>

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

Description

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

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

Methods

FsEvent

Source

Lines 285-293 in src/uvw/fs.h.

template<>
struct FsEvent<details::UVFsType::STATFS> {
    FsEvent(const char *pathname, Statfs curr) noexcept
        : path{pathname}, statfs{std::move(curr)}
    {}

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





Add Discussion as Guest

Log in