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

Function getAdsEnabled

cli/src/commands/ads.ts:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export const getAdsEnabled = (): boolean => {
39 if (IS_FREEBUFF) return true
40
41 // Codebuff LITE is a paid mode now, so use the normal saved setting.
42 const settings = loadSettings()
43 return settings.adsEnabled ?? false
44}

Callers 3

ChatFunction · 0.90
fetchAdFunction · 0.90
useGravityAdFunction · 0.90

Calls 1

loadSettingsFunction · 0.90

Tested by

no test coverage detected