MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / configBackupPath

Function configBackupPath

apps/desktop/src/main/vault.ts:462–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

460}
461
462function configBackupPath(): string {
463 return `${configPath()}.bak`
464}
465
466function isMissingFileError(err: unknown): boolean {
467 return !!err && typeof err === 'object' && (err as { code?: string }).code === 'ENOENT'

Callers 2

loadConfigSafelyFunction · 0.85
saveConfigFunction · 0.85

Calls 1

configPathFunction · 0.85

Tested by

no test coverage detected