MCPcopy Create free account
hub / github.com/Tencent/teamai-cli / gitcodeIsAuthenticated

Function gitcodeIsAuthenticated

src/providers/gitcode/gitcode-api.ts:121–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119
120/** True when a GitCode token is configured (no network check). */
121export function gitcodeIsAuthenticated(): boolean {
122 return getGitCodeToken() !== null;
123}
124
125/** Fetch the authenticated GitCode username (`login`), or null when unavailable. */
126export async function gitcodeWhoami(): Promise<string | null> {

Callers 2

doctorFunction · 0.85
isAuthenticatedMethod · 0.85

Calls 1

getGitCodeTokenFunction · 0.85

Tested by

no test coverage detected