MCPcopy Create free account
hub / github.com/WJX20/claude-code / getRelativeSettingsFilePathForSource

Function getRelativeSettingsFilePathForSource

src/utils/settings/settings.ts:298–307  ·  view source on GitHub ↗
(
  source: 'projectSettings' | 'localSettings',
)

Source from the content-addressed store, hash-verified

296}
297
298export function getRelativeSettingsFilePathForSource(
299 source: 'projectSettings' | 'localSettings',
300): string {
301 switch (source) {
302 case 'projectSettings':
303 return join('.claude', 'settings.json')
304 case 'localSettings':
305 return join('.claude', 'settings.local.json')
306 }
307}
308
309export function getSettingsForSource(
310 source: SettingSource,

Callers 4

performPostCreationSetupFunction · 0.85
updateSettingsForSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected