MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / pushUniqueSignal

Function pushUniqueSignal

web/src/server/free-mode-country.ts:310–315  ·  view source on GitHub ↗
(
  signals: FreeModeIpPrivacySignal[],
  signal: FreeModeIpPrivacySignal,
)

Source from the content-addressed store, hash-verified

308}
309
310function pushUniqueSignal(
311 signals: FreeModeIpPrivacySignal[],
312 signal: FreeModeIpPrivacySignal,
313): void {
314 if (!signals.includes(signal)) signals.push(signal)
315}
316
317function signalFromSpurValue(value: unknown): FreeModeIpPrivacySignal | null {
318 if (typeof value !== 'string') return null

Callers 1

privacySignalsFromSpurFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected