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

Function resolveExecutorDataDir

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

Source from the content-addressed store, hash-verified

12import { join, resolve } from "node:path";
13
14const resolveExecutorDataDir = (): string =>
15 resolve(process.env.EXECUTOR_DATA_DIR ?? join(homedir(), ".executor"));
16
17const serverControlDir = (dataDir: string): string => join(dataDir, "server-control");
18

Callers 3

localAuthTokenPathFunction · 0.70
loadOrMintLocalAuthTokenFunction · 0.70
rotateLocalAuthTokenFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected