MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / parseCompilersList

Function parseCompilersList

lib/properties-validator.ts:132–135  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

130 * Handles group references (&groupname), remote references (id@host), and regular IDs.
131 */
132export function parseCompilersList(value: string): string[] {
133 if (!value?.trim()) return [];
134 return value.split(':').filter(id => id.trim() !== '');
135}
136
137/**
138 * Parse a properties file content into a structured format with line numbers.

Callers 2

validateRawFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected