src/vs/workbench/services/search/common/ignoreFile.ts/IgnoreFile/constructor
class IgnoreFile:	constructor(
		contents: string,
		private readonly location: string,
		private readonly parent?: IgnoreFile) {
		if (location[location.length - 1] === '\\') {
			throw Error('Unexpected path format, do not use trailing backslashes');
		}
		if (location[location.length - 1] !== '/') {
			location += '/';
		}
		this.isPathIgnored = this.parseIgnoreFile(contents, this.location, this.parent);
	}