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

Function backupFile

apps/desktop/src/main/vault-config.test.ts:23–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21const tempDirs: string[] = []
22const configFile = (): string => path.join(userDataDir, 'zennotes.config.json')
23const backupFile = (): string => `${configFile()}.bak`
24
25// `localVaults` entries go through `path.resolve()` in normalizePersistedConfig,
26// which on Windows turns `/Users/test/MyVault` into `D:\Users\test\MyVault`.

Callers 1

Calls 1

configFileFunction · 0.85

Tested by

no test coverage detected