src/vs/workbench/services/textfile/common/textFileEditorModel.ts/TextFileEditorModel/isReadonly
class TextFileEditorModel:	override isReadonly(): boolean {
		return this.lastResolvedFileStat?.readonly || this.fileService.hasCapability(this.resource, FileSystemProviderCapabilities.Readonly);
	}