MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getCredentialsPath

Function getCredentialsPath

cli/src/utils/auth.ts:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47// Get the credentials file path
48export const getCredentialsPath = (): string => {
49 return path.join(getConfigDir(), 'credentials.json')
50}
51
52/**
53 * Parse user from JSON string

Callers 4

getUserCredentialsFunction · 0.70
readCredentialsFileFunction · 0.70
saveUserCredentialsFunction · 0.70
clearUserCredentialsFunction · 0.70

Calls 1

getConfigDirFunction · 0.70

Tested by

no test coverage detected