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

Function parseCsv

scripts/sync.ts:128–133  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

126}
127
128function parseCsv(value: string): string[] {
129 return value
130 .split(",")
131 .map((item) => item.trim())
132 .filter(Boolean);
133}
134
135function isFullSync(providerOption: string): boolean {
136 return parseCsv(providerOption).includes("all");

Callers 2

selectSourceFilesFunction · 0.70
isFullSyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected