Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Types | Static Public Member Functions | List of all members
dart::bin::FileSystemWatcher Class Reference

#include <file_system_watcher.h>

Classes

struct  Event
 

Public Types

enum  EventType {
  kCreate = 1 << 0 , kModifyContent = 1 << 1 , kDelete = 1 << 2 , kMove = 1 << 3 ,
  kModifyAttribute = 1 << 4 , kDeleteSelf = 1 << 5 , kIsDir = 1 << 6
}
 

Static Public Member Functions

static bool IsSupported ()
 
static intptr_t Init ()
 
static void Close (intptr_t id)
 
static intptr_t WatchPath (intptr_t id, Namespace *namespc, const char *path, int events, bool recursive)
 
static void UnwatchPath (intptr_t id, intptr_t path_id)
 
static intptr_t GetSocketId (intptr_t id, intptr_t path_id)
 
static Dart_Handle ReadEvents (intptr_t id, intptr_t path_id)
 
static void set_delayed_filewatch_callback (bool value)
 
static bool delayed_filewatch_callback ()
 

Detailed Description

Definition at line 20 of file file_system_watcher.h.

Member Enumeration Documentation

◆ EventType

Enumerator
kCreate 
kModifyContent 
kDelete 
kMove 
kModifyAttribute 
kDeleteSelf 
kIsDir 

Definition at line 22 of file file_system_watcher.h.

Member Function Documentation

◆ Close()

static void dart::bin::FileSystemWatcher::Close ( intptr_t  id)
static

◆ delayed_filewatch_callback()

static bool dart::bin::FileSystemWatcher::delayed_filewatch_callback ( )
inlinestatic

Definition at line 54 of file file_system_watcher.h.

54 {
55 return delayed_filewatch_callback_;
56 }

◆ GetSocketId()

static intptr_t dart::bin::FileSystemWatcher::GetSocketId ( intptr_t  id,
intptr_t  path_id 
)
static

◆ Init()

static intptr_t dart::bin::FileSystemWatcher::Init ( )
static

◆ IsSupported()

static bool dart::bin::FileSystemWatcher::IsSupported ( )
static

◆ ReadEvents()

static Dart_Handle dart::bin::FileSystemWatcher::ReadEvents ( intptr_t  id,
intptr_t  path_id 
)
static

◆ set_delayed_filewatch_callback()

static void dart::bin::FileSystemWatcher::set_delayed_filewatch_callback ( bool  value)
inlinestatic

Definition at line 51 of file file_system_watcher.h.

51 {
52 delayed_filewatch_callback_ = value;
53 }
uint8_t value

◆ UnwatchPath()

static void dart::bin::FileSystemWatcher::UnwatchPath ( intptr_t  id,
intptr_t  path_id 
)
static

◆ WatchPath()

static intptr_t dart::bin::FileSystemWatcher::WatchPath ( intptr_t  id,
Namespace namespc,
const char *  path,
int  events,
bool  recursive 
)
static

The documentation for this class was generated from the following files: