MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / makeStore

Function makeStore

apps/desktop/src/main/settings-permissions.test.ts:36–42  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

34
35/** The exact options `settings.ts` constructs its store with. */
36const makeStore = (dir: string) =>
37 new Store<{ readonly serverProfiles?: string }>({
38 name: "settings",
39 cwd: dir,
40 configFileMode: 0o600,
41 defaults: {},
42 });
43
44const settingsPathIn = (dir: string) => join(dir, "settings.json");
45

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected