MCPcopy
hub / github.com/cita-777/metapi / push

Function push

src/server/services/brandMatcher.ts:191–196  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

189 const queue: string[] = [];
190 const seen = new Set<string>();
191 const push = (value: string) => {
192 const normalized = value.trim().toLowerCase();
193 if (!normalized || seen.has(normalized)) return;
194 seen.add(normalized);
195 queue.push(normalized);
196 };
197
198 push(modelName);
199

Callers 4

collectCandidatesFunction · 0.70
extractGobFieldIntsMethod · 0.50
extractLikelyUserIdsMethod · 0.50

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected