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

Method setConfig

packages/bridge-contract/src/bridge.ts:257–257  ·  view source on GitHub ↗

Persist the portable preferences subset to the config file (debounced by * the caller). No-op on web.

(next: AppConfigPortable)

Source from the content-addressed store, hash-verified

255 /** Persist the portable preferences subset to the config file (debounced by
256 * the caller). No-op on web. */
257 setConfig(next: AppConfigPortable): Promise<void>
258 /** Absolute path of the config file, or null when unsupported (web). */
259 getConfigPath(): Promise<string | null>
260 /** Create the config file if needed and reveal it in the OS file manager. */

Callers 2

pushPortableConfigFunction · 0.80
initConfigSyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected