MCPcopy Index your code
hub / github.com/codeaashu/claude-code / setLeaderTeamName

Function setLeaderTeamName

src/utils/tasks.ts:31–37  ·  view source on GitHub ↗
(teamName: string)

Source from the content-addressed store, hash-verified

29 * Called by TeamCreateTool when a team is created.
30 */
31export function setLeaderTeamName(teamName: string): void {
32 if (leaderTeamName === teamName) return
33 leaderTeamName = teamName
34 // Changing the task list ID is a "tasks updated" event for subscribers —
35 // they're now looking at a different directory.
36 notifyTasksUpdated()
37}
38
39/**
40 * Clears the leader's team name.

Callers 1

callFunction · 0.85

Calls 1

notifyTasksUpdatedFunction · 0.85

Tested by

no test coverage detected