src/vs/workbench/services/search/common/queryBuilder.ts/QueryBuilder/getExcludesForFolder
class QueryBuilder:	private getExcludesForFolder(folderConfig: ISearchConfiguration, options: ICommonQueryBuilderOptions): glob.IExpression | undefined {
		return options.disregardExcludeSettings ?
			undefined :
			getExcludes(folderConfig, !options.disregardSearchExcludeSettings);
	}