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

Function configPath

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

Source from the content-addressed store, hash-verified

298let configWriteQueue = Promise.resolve()
299
300function configPath(): string {
301 return path.join(app.getPath('userData'), CONFIG_FILE)
302}
303
304function normalizeWindowState(value: unknown): PersistedWindowState | null {
305 if (!value || typeof value !== 'object') return null

Callers 4

configBackupPathFunction · 0.85
loadConfigSafelyFunction · 0.85
saveConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected