1 #ifndef UVW_FS_EVENT_INCLUDE_H
2 #define UVW_FS_EVENT_INCLUDE_H
19 enum class UVFsEventFlags: std::underlying_type_t<uv_fs_event_flags> {
20 WATCH_ENTRY = UV_FS_EVENT_WATCH_ENTRY,
21 STAT = UV_FS_EVENT_STAT,
22 RECURSIVE = UV_FS_EVENT_RECURSIVE
26 enum class UVFsEvent: std::underlying_type_t<uv_fs_event> {
77 static void startCallback(uv_fs_event_t *handle,
const char *filename,
int events,
int status);
80 using Watch = details::UVFsEvent;
81 using Event = details::UVFsEventFlags;
127 void start(std::string
path, Event flag);
138 std::string
path() noexcept;
146 #include "fs_event.cpp"
149 #endif // UVW_FS_EVENT_INCLUDE_H