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

Function getSettingsPath

cli/src/utils/settings.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 * Get the settings file path
37 */
38export const getSettingsPath = (): string => {
39 return path.join(getConfigDir(), 'settings.json')
40}
41
42/**
43 * Ensure the config directory exists, creating it if necessary

Callers 2

loadSettingsFunction · 0.85
saveSettingsFunction · 0.85

Calls 1

getConfigDirFunction · 0.90

Tested by

no test coverage detected