src/vs/workbench/contrib/search/common/searchModel.ts/FolderMatch/configureIntermediateMatch
class FolderMatch:	public configureIntermediateMatch(folderMatch: FolderMatchWithResource) {
		const disposable = folderMatch.onChange((event) => this.onFolderChange(folderMatch, event));
		folderMatch.onDispose(() => disposable.dispose());
	}