MCPcopy
hub / github.com/codeaashu/claude-code / getConfigBackupDir

Function getConfigBackupDir

src/utils/config.ts:1362–1364  ·  view source on GitHub ↗

* Returns the directory where config backup files are stored. * Uses ~/.claude/backups/ to keep the home directory clean.

()

Source from the content-addressed store, hash-verified

1360 * Uses ~/.claude/backups/ to keep the home directory clean.
1361 */
1362function getConfigBackupDir(): string {
1363 return join(getClaudeConfigHomeDir(), 'backups')
1364}
1365
1366/**
1367 * Find the most recent backup file for a given config file.

Callers 3

saveConfigWithLockFunction · 0.85
findMostRecentBackupFunction · 0.85
getConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected