How to use the @theia/filesystem/lib/browser.FileChangeEvent.isChanged function in @theia/filesystem

To help you get started, we’ve selected a few @theia/filesystem examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github eclipse-theia / theia / packages / plugin-ext / src / main / browser / plugin-icon-theme-service.ts View on Github external
this.toUnload.push(this.fsWatcher.onFilesChanged(e => {
                if (FileChangeEvent.isChanged(e, uri)) {
                    this.reload();
                }
            }));
        }