()
| 114 | }]; |
| 115 | } |
| 116 | export async function buildMemoryDiagnostics(): Promise<Diagnostic[]> { |
| 117 | const files = await getMemoryFiles(); |
| 118 | const largeFiles = getLargeMemoryFiles(files); |
| 119 | const diagnostics: Diagnostic[] = []; |
| 120 | largeFiles.forEach(file => { |
| 121 | const displayPath = getDisplayPath(file.path); |
| 122 | diagnostics.push(`Large ${displayPath} will impact performance (${formatNumber(file.content.length)} chars > ${formatNumber(MAX_MEMORY_CHARACTER_COUNT)})`); |
| 123 | }); |
| 124 | return diagnostics; |
| 125 | } |
| 126 | export function buildSettingSourcesProperties(): Property[] { |
| 127 | const enabledSources = getEnabledSettingSources(); |
| 128 |
no test coverage detected