src/vs/workbench/contrib/terminal/browser/links/terminalLinkOpeners.ts/TerminalSearchLinkOpener/_getExactMatch
class TerminalSearchLinkOpener:	private async _getExactMatch(sanitizedLink: string): Promise<IResourceMatch | undefined> {
		let resourceMatch: IResourceMatch | undefined;
		if (osPathModule(this._os).isAbsolute(sanitizedLink)) {
			const scheme = this._workbenchEnvironmentService.remoteAuthority ? Schemas.vscodeRemote : Schemas.file;
			const uri = URI.from({ scheme, path: sanitizedLink });
			try {
				const fileStat = await this._fileService.stat(uri);
				resourceMatch = { uri, isDirectory: fileStat.isDirectory };
			} catch {
				// File or dir doesn't exist, continue on
			}
		}
		if (!resourceMatch) {
			const results = await this._searchService.fileSearch(
				this._fileQueryBuilder.file(this._workspaceContextService.getWorkspace().folders, {
					// Remove optional :row:col from the link as openEditor supports it
					filePattern: sanitizedLink,
					maxResults: 2
				})
			);
			if (results.results.length === 1) {
				resourceMatch = { uri: results.results[0].resource };
			}
		}
		return resourceMatch;
	}