MCPcopy Create free account
hub / github.com/garrytan/gstack / configPath

Function configPath

design/src/auth.ts:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28function configPath(): string {
29 return path.join(process.env.HOME || "~", ".gstack", "openai.json");
30}
31
32function readEnvValue(filePath: string, key: string): string | null {
33 let content: string;

Callers 2

resolveApiKeyInfoFunction · 0.85
saveApiKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected