1#ifndef UVW_FS_EVENT_INCLUDE_H 
    2#define UVW_FS_EVENT_INCLUDE_H 
   17enum class uvw_fs_event_flags : std::underlying_type_t<uv_fs_event_flags> {
 
   18    WATCH_ENTRY = UV_FS_EVENT_WATCH_ENTRY,
 
   19    STAT = UV_FS_EVENT_STAT,
 
   20    RECURSIVE = UV_FS_EVENT_RECURSIVE,
 
   24enum class uvw_fs_event : std::underlying_type_t<uv_fs_event> {
 
   33    fs_event_event(
const char *pathname, details::uvw_fs_event events);
 
   68    static void start_callback(uv_fs_event_t *hndl, 
const char *filename, 
int events, 
int status);
 
   71    using watch = details::uvw_fs_event;
 
   72    using event_flags = details::uvw_fs_event_flags;
 
   99    int start(const std::
string &
path, event_flags flags = event_flags::_UVW_ENUM);
 
  117#    include "fs_event.cpp" 
std::string path() noexcept
Gets the path being monitored.
 
int start(const std::string &path, event_flags flags=event_flags::_UVW_ENUM)
Starts watching the specified path.
 
int init() final
Initializes the handle.
 
int stop()
Stops polling the file descriptor.
 
details::uvw_fs_event flags
Detected events all in one.
 
const char * filename
The path to the file being monitored.