MCPcopy
hub / github.com/upstash/context7 / getCredentialsFilePath

Function getCredentialsFilePath

packages/cli/src/utils/storage-paths.ts:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34export function getCredentialsFilePath(): string {
35 return path.join(getConfigDir(), CREDENTIALS_FILE_NAME);
36}
37
38export function getUpdateStateFilePath(): string {
39 return path.join(getStateDir(), UPDATE_STATE_FILE_NAME);

Callers 4

saveTokensFunction · 0.85
loadTokensFunction · 0.85
clearTokensFunction · 0.85

Calls 1

getConfigDirFunction · 0.85

Tested by

no test coverage detected