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

Function getPortableConfigSnapshot

apps/desktop/src/main/app-config.ts:631–633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

629
630/** Synchronous snapshot for the preload's `sendSync` getter. */
631export function getPortableConfigSnapshot(): AppConfigPortable {
632 return { ...cache }
633}
634
635/** Merge a partial portable config into the cache and persist it atomically. */
636export function setPortableConfig(partial: AppConfigPortable): Promise<void> {

Callers 2

registerIpcFunction · 0.90
app-config.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected