MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getConfigBackupDir

Function getConfigBackupDir

src/utils/config.ts:1370–1372  ·  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

1368 * Uses ~/.claude/backups/ to keep the home directory clean.
1369 */
1370function getConfigBackupDir(): string {
1371 return join(getClaudeConfigHomeDir(), 'backups')
1372}
1373
1374/**
1375 * 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