MCPcopy Create free account
hub / github.com/arctic-cli/interface / setTelemetryEnabled

Function setTelemetryEnabled

packages/arctic/src/global/index.ts:69–73  ·  view source on GitHub ↗
(enabled: boolean)

Source from the content-addressed store, hash-verified

67 }
68
69 export async function setTelemetryEnabled(enabled: boolean): Promise<void> {
70 const settings = await loadSettings()
71 settings.telemetryEnabled = enabled
72 await saveSettings(settings)
73 }
74
75 export async function getDeviceId(): Promise<string> {
76 const settings = await loadSettings()

Callers

nothing calls this directly

Calls 2

loadSettingsFunction · 0.85
saveSettingsFunction · 0.85

Tested by

no test coverage detected