src/vs/workbench/services/search/common/ignoreFile.ts/IgnoreFile/gitignoreLineToGlob
class IgnoreFile:	private gitignoreLineToGlob(line: string, dirPath: string): string {
		const firstSep = line.indexOf('/');
		if (firstSep === -1 || firstSep === line.length - 1) {
			line = '**/' + line;
		} else {
			if (firstSep === 0) {
				line = line.slice(1);
			}
			line = dirPath + line;
		}

		return line;
	}