MCPcopy Create free account
hub / github.com/VPSDance/ai-proxy-rules / parseCsv

Function parseCsv

scripts/cli.ts:105–110  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

103
104 const invalid = selected.filter((format): format is string => !isFormat(format));
105 if (invalid.length > 0) {
106 throw new Error(`Invalid format: ${invalid.join(", ")}`);
107 }
108
109 return selected.filter(isFormat);
110}
111
112function parseCsv(value: string): string[] {
113 return value

Callers 3

selectProvidersFunction · 0.70
buildTargetsFunction · 0.70
parseFormatsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected