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

Function resolveExecutorDataDir

apps/cli/src/local-server-manifest.ts:26–27  ·  view source on GitHub ↗
(path: Path.Path)

Source from the content-addressed store, hash-verified

24// ---------------------------------------------------------------------------
25
26export const resolveExecutorDataDir = (path: Path.Path): string =>
27 resolve(process.env.EXECUTOR_DATA_DIR ?? path.join(homedir(), ".executor"));
28
29const serverControlDir = (path: Path.Path): string =>
30 path.join(resolveExecutorDataDir(path), "server-control");

Callers 10

makeLocalServerManifestFunction · 0.90
installServiceFunction · 0.90
serviceLogDirFunction · 0.90
makeLaunchdBackendFunction · 0.90
makeSystemdBackendFunction · 0.90
controlDirFunction · 0.90
makeWindowsBackendFunction · 0.90
serverControlDirFunction · 0.70

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected