MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getConfigBackupDir

Function getConfigBackupDir

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

1380 * Uses ~/.claude/backups/ to keep the home directory clean.
1381 */
1382function getConfigBackupDir(): string {
1383 return join(getClaudeConfigHomeDir(), 'backups')
1384}
1385
1386/**
1387 * 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