YPHDYP3LZIQDWKGSFYGMQEGXKVSX3NKBJTSYVTCJ7ZIJTA36FAQAC
const dotFolderPattern = /[\\/]\.pijul[\\/]/;
const ignoreDotFolder = (uri: Uri): boolean => !dotFolderPattern.test(uri.path);
this.onDidChangeWorkspace = filterEvent(this.onDidChange, ignoreDotFolder);
this.onDidCreateWorkspace = filterEvent(this.onDidCreate, ignoreDotFolder);
this.onDidDeleteWorkspace = filterEvent(this.onDidDelete, ignoreDotFolder);
this.onDidAny(this.onAnyRepositoryFileChange, this, this.disposables);
this.onDidAnyWorkspace = anyEvent(
this.onDidChangeWorkspace,
this.onDidCreateWorkspace,
this.onDidDeleteWorkspace
);
// This must run on the Workspace event, as the `pijul ls` command will trigger an infinite loop otherwise.
this.onDidAnyWorkspace(this.onAnyRepositoryFileChange, this, this.disposables);