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

Function deleteStore

packages/cli/src/auth/store.ts:159–166  ·  view source on GitHub ↗
(path = credentialPath())

Source from the content-addressed store, hash-verified

157}
158
159export async function deleteStore(path = credentialPath()): Promise<void> {
160 try {
161 await fs.unlink(path);
162 } catch (err) {
163 if ((err as NodeJS.ErrnoException).code === "ENOENT") return;
164 throw err;
165 }
166}
167
168/**
169 * True when `credentials` carries any unrecognized/foreign data captured

Callers 5

clearUserInfoFunction · 0.85
clearOAuthFunction · 0.85
store.test.tsFile · 0.85
rollbackFunction · 0.85
runFunction · 0.85

Calls 1

credentialPathFunction · 0.85

Tested by

no test coverage detected