src/vs/workbench/services/search/common/ignoreFile.ts/IgnoreFile/isPathIncludedInTraversal
class IgnoreFile:	isPathIncludedInTraversal(path: string, isDir: boolean): boolean {
		if (path[0] !== '/' || path[path.length - 1] === '/') {
			throw Error('Unexpected path format, expectred to begin with slash and end without. got:' + path);
		}

		const ignored = this.isPathIgnored(path, isDir);

		return !ignored;
	}