MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / configDir

Function configDir

packages/cli/src/auth/paths.ts:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15export const CREDENTIAL_FILENAME = "credentials";
16
17export function configDir(): string {
18 const override = process.env["HEYGEN_CONFIG_DIR"];
19 if (override && override.length > 0) return override;
20 return join(homedir(), ".heygen");
21}
22
23export function credentialPath(): string {
24 return join(configDir(), CREDENTIAL_FILENAME);

Callers 3

paths.test.tsFile · 0.85
credentialPathFunction · 0.85
ensureConfirmedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected