A file system watcher notifies about changes to files and folders on disk or from other {@link FileSystemProvider FileSystemProviders}.
To get an instance of a FileSystemWatcher
use
{@link workspace.createFileSystemWatcher createFileSystemWatcher}.
A file system watcher notifies about changes to files and folders on disk or from other {@link FileSystemProvider FileSystemProviders}. To get an instance of a `FileSystemWatcher` use {@link workspace.createFileSystemWatcher createFileSystemWatcher}.
(dispose file-system-watcher)
Dispose this object.
Returns: any
Dispose this object. **Returns:** `any`
(ignore-change-events? file-system-watcher)
true if this file system watcher has been created such that it ignores change file system events.
true if this file system watcher has been created such that it ignores change file system events.
(ignore-create-events? file-system-watcher)
true if this file system watcher has been created such that it ignores creation file system events.
true if this file system watcher has been created such that it ignores creation file system events.
(ignore-delete-events? file-system-watcher)
true if this file system watcher has been created such that it ignores delete file system events.
true if this file system watcher has been created such that it ignores delete file system events.
(on-did-change file-system-watcher)
(on-did-change file-system-watcher listener)
(on-did-change file-system-watcher listener this-args)
(on-did-change file-system-watcher listener this-args disposables)
An event which fires on file/folder change.
Parameters:
listener
: (e: T) => any
- The listener function will be called when the event happens.this-args
: any
- The this
-argument which will be used when calling the event listener.disposables
: Disposable[] | undefined
- An array to which a {@link Disposable } will be added.Returns: Disposable
- A disposable which unsubscribes the event listener.
An event which fires on file/folder change. **Parameters:** - `listener`: `(e: T) => any` - The listener function will be called when the event happens. - `this-args`: `any` - The `this`-argument which will be used when calling the event listener. - `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added. **Returns:** `Disposable` - A disposable which unsubscribes the event listener.
(on-did-create file-system-watcher)
(on-did-create file-system-watcher listener)
(on-did-create file-system-watcher listener this-args)
(on-did-create file-system-watcher listener this-args disposables)
An event which fires on file/folder creation.
Parameters:
listener
: (e: T) => any
- The listener function will be called when the event happens.this-args
: any
- The this
-argument which will be used when calling the event listener.disposables
: Disposable[] | undefined
- An array to which a {@link Disposable } will be added.Returns: Disposable
- A disposable which unsubscribes the event listener.
An event which fires on file/folder creation. **Parameters:** - `listener`: `(e: T) => any` - The listener function will be called when the event happens. - `this-args`: `any` - The `this`-argument which will be used when calling the event listener. - `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added. **Returns:** `Disposable` - A disposable which unsubscribes the event listener.
(on-did-delete file-system-watcher)
(on-did-delete file-system-watcher listener)
(on-did-delete file-system-watcher listener this-args)
(on-did-delete file-system-watcher listener this-args disposables)
An event which fires on file/folder deletion.
Parameters:
listener
: (e: T) => any
- The listener function will be called when the event happens.this-args
: any
- The this
-argument which will be used when calling the event listener.disposables
: Disposable[] | undefined
- An array to which a {@link Disposable } will be added.Returns: Disposable
- A disposable which unsubscribes the event listener.
An event which fires on file/folder deletion. **Parameters:** - `listener`: `(e: T) => any` - The listener function will be called when the event happens. - `this-args`: `any` - The `this`-argument which will be used when calling the event listener. - `disposables`: `Disposable[] | undefined` - An array to which a {@link Disposable } will be added. **Returns:** `Disposable` - A disposable which unsubscribes the event listener.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close