MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getConfigBackupDir

Function getConfigBackupDir

source code/utils/config.ts:1364–1366  ·  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

1362 * Uses ~/.claude/backups/ to keep the home directory clean.
1363 */
1364function getConfigBackupDir(): string {
1365 return join(getClaudeConfigHomeDir(), 'backups')
1366}
1367
1368/**
1369 * 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