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

Function resolveDataDir

apps/cli/src/server-profile.ts:39–40  ·  view source on GitHub ↗
(path: Path.Path)

Source from the content-addressed store, hash-verified

37};
38
39const resolveDataDir = (path: Path.Path): string =>
40 process.env.EXECUTOR_DATA_DIR ?? path.join(homedir(), ".executor");
41
42const serverConnectionStorePath = (path: Path.Path): string =>
43 path.join(resolveDataDir(path), "server-connections.json");

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected