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

Function getConfigBackupDir

src/utils/config.ts:1436–1438  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1434 * Uses ~/.ncode/backups/ to keep the home directory clean.
1435 */
1436function getConfigBackupDir(): string {
1437 return join(getNcodeConfigHomeDir(), 'backups')
1438}
1439
1440/**
1441 * 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