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

Function serverControlDir

apps/desktop/src/main/local-auth.ts:17–17  ·  view source on GitHub ↗
(dataDir: string)

Source from the content-addressed store, hash-verified

15 resolve(process.env.EXECUTOR_DATA_DIR ?? join(homedir(), ".executor"));
16
17const serverControlDir = (dataDir: string): string => join(dataDir, "server-control");
18
19const localAuthTokenPath = (dataDir: string = resolveExecutorDataDir()): string =>
20 join(serverControlDir(dataDir), "auth.json");

Callers 2

localAuthTokenPathFunction · 0.70
writeTokenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected