From 9cbe83b57cc8a269fe10d58f382845435f2d946d Mon Sep 17 00:00:00 2001 From: Andrew Pareles Date: Sun, 9 Feb 2025 00:46:39 -0800 Subject: [PATCH] comment --- src/vs/workbench/contrib/void/browser/helpers/readFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/void/browser/helpers/readFile.ts b/src/vs/workbench/contrib/void/browser/helpers/readFile.ts index ff3a78e7..b0f154d1 100644 --- a/src/vs/workbench/contrib/void/browser/helpers/readFile.ts +++ b/src/vs/workbench/contrib/void/browser/helpers/readFile.ts @@ -3,7 +3,7 @@ import { EndOfLinePreference } from '../../../../../editor/common/model' import { IModelService } from '../../../../../editor/common/services/model.js' import { IFileService } from '../../../../../platform/files/common/files' -// read files from VSCode (looks like only works if model exists already, use raw if not) +// read files from VSCode. preferred (but appears to only work if the model of this URI already exists. If it doesn't use the other function.) export const VSReadFile = async (modelService: IModelService, uri: URI): Promise => { const model = modelService.getModel(uri) if (!model) return null