src/vs/workbench/services/search/worker/localFileSearch.ts/reviveFolderQuery
function reviveFolderQuery(folderQuery: IFolderQuery<UriComponents>): IFolderQuery<URI> {
	return {
		...folderQuery,
		folder: URI.revive(folderQuery.folder),
	};
}