FileSystemWatcher

A file system watcher notifies about changes to files and folders on disk or from other FileSystemProviders.

To get an instance of a FileSystemWatcher use createFileSystemWatcher.

Online Documentation

Properties

Link copied to clipboard
abstract external val ignoreChangeEvents: Boolean

true if this file system watcher has been created such that it ignores change file system events.

Link copied to clipboard
abstract external val ignoreCreateEvents: Boolean

true if this file system watcher has been created such that it ignores creation file system events.

Link copied to clipboard
abstract external val ignoreDeleteEvents: Boolean

true if this file system watcher has been created such that it ignores delete file system events.

Link copied to clipboard
abstract external val onDidChange: Event<Uri>

An event which fires on file/folder change.

Link copied to clipboard
abstract external val onDidCreate: Event<Uri>

An event which fires on file/folder creation.

Link copied to clipboard
abstract external val onDidDelete: Event<Uri>

An event which fires on file/folder deletion.

Functions

Link copied to clipboard
abstract external fun dispose()

Function to clean up resources.