MCPcopy Create free account
hub / github.com/thesysdev/openui / configDir

Function configDir

packages/openui-cli/src/lib/telemetry.ts:13–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12const isTruthyEnv = (v?: string) => v === "1" || v?.toLowerCase() === "true";
13const configDir = () =>
14 path.join(process.env["XDG_CONFIG_HOME"] ?? path.join(os.homedir(), ".config"), "openui");
15const isCi = () => {
16 const e = process.env;
17 return isTruthyEnv(e["CI"]) || !!e["GITHUB_ACTIONS"] || !!e["GITLAB_CI"] || !!e["BUILDKITE"];

Callers 1

loadOrCreateStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected