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

Function resetCodebuffClient

cli/src/utils/codebuff-client.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 * This should be called after login to ensure the client is re-initialized with new credentials.
42 */
43export function resetCodebuffClient(): void {
44 clientInstance = null
45}
46
47export async function getCodebuffClient(): Promise<CodebuffClient | null> {
48 if (!clientInstance) {

Callers 3

AppWithAsyncAuthFunction · 0.90
useLogoutMutationFunction · 0.90
useAuthStateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected