class WatcherContainer

Defined at line 29 of file ../../src/storage/lib/vfs/cpp/watcher.h

Implements directory watching , holding a list of watchers

Public Methods

void WatcherContainer (const WatcherContainer & )

Not copyable or movable.

Defined at line 35 of file ../../src/storage/lib/vfs/cpp/watcher.h

WatcherContainer & operator= (WatcherContainer & )

Defined at line 36 of file ../../src/storage/lib/vfs/cpp/watcher.h

bool HasWatchers ()

Defined at line 45 of file ../../src/storage/lib/vfs/cpp/watcher.h

void WatcherContainer ()

Defined at line 56 of file ../../src/storage/lib/vfs/cpp/watcher.cc

void ~WatcherContainer ()

Defined at line 57 of file ../../src/storage/lib/vfs/cpp/watcher.cc

zx_status_t WatchDir (FuchsiaVfs * vfs, Vnode * vn, fuchsia_io::wire::WatchMask mask, uint32_t options, fidl::ServerEnd<fuchsia_io::DirectoryWatcher> server_end)

Defined at line 124 of file ../../src/storage/lib/vfs/cpp/watcher.cc

void Notify (std::string_view name, fuchsia_io::wire::WatchEvent event)

Notifies all VnodeWatchers in the watch list, if their mask indicates they are interested in

the incoming event.

Defined at line 194 of file ../../src/storage/lib/vfs/cpp/watcher.cc