MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / resolvePath

Function resolvePath

src/lib/credentials.ts:136–138  ·  view source on GitHub ↗
(options: CredentialsOptions)

Source from the content-addressed store, hash-verified

134}
135
136function resolvePath(options: CredentialsOptions): string {
137 return options.path ?? defaultCredentialsPath();
138}
139
140function writeCredentialsAtomic(path: string, file: CredentialsFile): void {
141 mkdirSync(dirname(path), { recursive: true, mode: 0o700 });

Callers 3

readCredentialsFileFunction · 0.85
writeProfileFunction · 0.85
deleteProfileFunction · 0.85

Calls 1

defaultCredentialsPathFunction · 0.85

Tested by

no test coverage detected