Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tanbiralam/claude-code
/ functions
Functions
11,484 in github.com/tanbiralam/claude-code
⨍
Functions
11,484
◇
Types & classes
506
↓ 2 callers
Function
getTextContent
(node: ReactNode)
src/components/CustomSelect/select.tsx:16
↓ 2 callers
Function
getTimeZone
()
src/utils/intl.ts:72
↓ 2 callers
Function
getTmuxColorName
* Gets the tmux color name for a given agent color. * These are tmux's built-in color names that work with pane-border-style.
src/utils/swarm/backends/TmuxBackend.ts:59
↓ 2 callers
Function
getToolBuckets
()
src/components/agents/ToolSelector.tsx:49
↓ 2 callers
Method
getToolInterruptBehavior
(tool: TrackedTool)
src/services/tools/StreamingToolExecutor.ts:233
↓ 2 callers
Function
getToolNameForPermissionCheck
(tool: { name: string mcpInfo?: { serverName: string; toolName: string } })
src/services/mcp/mcpStringUtils.ts:60
↓ 2 callers
Function
getToolPermissionContext
()
src/utils/hooks/execPromptHook.ts:75
↓ 2 callers
Function
getToolSearchMode
()
src/utils/toolSearch.ts:172
↓ 2 callers
Function
getToolUseIDFromParentMessage
( parentMessage: AssistantMessage, toolName: string, )
src/tools/utils.ts:30
↓ 2 callers
Function
getToolsForDefaultPreset
()
src/tools.ts:179
↓ 2 callers
Function
getTotalCacheCreationInputTokens
()
src/bootstrap/state.ts:716
↓ 2 callers
Function
getTotalCacheReadInputTokens
()
src/bootstrap/state.ts:712
↓ 2 callers
Method
getTreeSitterAnalysis
* Returns tree-sitter analysis data if available. * Returns null for the regex fallback implementation.
src/utils/bash/ParsedCommand.ts:31
↓ 2 callers
Function
getUnameSR
()
src/constants/prompts.ts:745
↓ 2 callers
Function
getUpdatedInputOrFallback
* Extract updatedInput from a permission result, falling back to the original input. * Handles the case where some PermissionResult variants don't ha
src/utils/permissions/permissions.ts:1477
↓ 2 callers
Function
getUseCoworkPlugins
()
src/bootstrap/state.ts:1260
↓ 2 callers
Function
getUserAttributes
* Get user attributes for GrowthBook from CoreUserData
src/services/analytics/growthbook.ts:454
↓ 2 callers
Function
getUserBinDir
(options?: XDGOptions)
src/utils/xdg.ts:62
↓ 2 callers
Function
getUserClaudeRulesDir
()
src/utils/config.ts:1805
↓ 2 callers
Function
getVSCodeIDECommand
(ideType: IdeType)
src/utils/ide.ts:1017
↓ 2 callers
Function
getValue
(source: 'global' | 'settings', path: string[])
src/tools/ConfigTool/ConfigTool.ts:436
↓ 2 callers
Function
getVertexRegionForModel
( model: string | undefined, )
src/utils/envUtils.ts:171
↓ 2 callers
Function
getVoiceKeyterms
( recentFiles?: ReadonlySet<string>, )
src/services/voiceKeyterms.ts:63
↓ 2 callers
Method
getWrappedLines
()
src/utils/Cursor.ts:1377
↓ 2 callers
Function
getWrittenFilePath
* Extract file_path from a tool_use block's input, if present. * Returns undefined when the block is not an Edit/Write tool use or has no file_path.
src/services/extractMemories/extractMemories.ts:232
↓ 2 callers
Function
getXDGDataHome
(options?: XDGOptions)
src/utils/xdg.ts:52
↓ 2 callers
Function
getXDGStateHome
(options?: XDGOptions)
src/utils/xdg.ts:32
↓ 2 callers
Function
getYogaCounters
()
src/native-ts/yoga-layout/index.ts:1044
↓ 2 callers
Function
getZipCacheKnownMarketplacesPath
()
src/utils/plugins/zipCache.ts:75
↓ 2 callers
Function
gitSubmoduleUpdate
* Sync submodule working dirs after a successful pull. gitClone() uses * --recurse-submodules, but gitPull() didn't — the parent repo's submodule *
src/utils/plugins/marketplaceManager.ts:609
↓ 2 callers
Function
groupByFile
* Groups items by their file URI. * Generic helper that works with both Location[] and SymbolInformation[]
src/tools/LSPTool/formatters.ts:78
↓ 2 callers
Function
groupBySource
Group items by source type for display, sorted by tokens descending within each group
src/components/ContextVisualization.tsx:77
↓ 2 callers
Function
handleAbort
()
src/components/mcp/ElicitationDialog.tsx:188
↓ 2 callers
Function
handleClose
()
src/components/tasks/RemoteSessionDetailDialog.tsx:806
↓ 2 callers
Method
handleClose
* Handle WebSocket close
src/remote/SessionsWebSocket.ts:234
↓ 2 callers
Function
handleData
* Shared per-connection data handler. Phase 1 accumulates the CONNECT request; * phase 2 forwards client bytes over the WS tunnel.
src/upstreamproxy/relay.ts:295
↓ 2 callers
Function
handleDeepLinkUri
(uri: string)
src/utils/deepLink/protocolHandler.ts:36
↓ 2 callers
Function
handleEPIPE
( stream: NodeJS.WriteStream, )
src/utils/process.ts:1
↓ 2 callers
Method
handleElicitation
* Sends an elicitation request to the SDK consumer and returns the response.
src/cli/structuredIO.ts:694
↓ 2 callers
Function
handleEnter
(key: Key)
src/hooks/useTextInput.ts:247
↓ 2 callers
Method
handleEpochMismatch
* Handle epoch mismatch (409 Conflict). A newer CC instance has replaced * this one — exit immediately.
src/cli/transports/ccrClient.ts:669
↓ 2 callers
Method
handleErrorRedirect
* Handles error case by sending a redirect to the appropriate success page with an error indicator, * ensuring the browser flow is completed proper
src/services/oauth/auth-code-listener.ts:111
↓ 2 callers
Function
handleFileSystemError
* Handles file system errors appropriately * @param error The error to handle * @param path The file path that caused the error
src/utils/settings/settings.ts:157
↓ 2 callers
Function
handleIngressMessage
( data: string, recentPostedUUIDs: BoundedUUIDSet, recentInboundUUIDs: BoundedUUIDSet, onInboundMessag
src/bridge/bridgeMessaging.ts:132
↓ 2 callers
Method
handleMessage
* Handle incoming WebSocket message
src/remote/SessionsWebSocket.ts:210
↓ 2 callers
Method
handleNodeRemoved
* Called by the reconciler when a node is removed from the tree. * Handles both the exact node and any focused descendant within * the removed s
src/ink/focus.ts:57
↓ 2 callers
Function
handleNormalInput
* Handle input that's valid in both idle and count states. * Returns null if input is not recognized.
src/vim/transitions.ts:98
↓ 2 callers
Method
handleOpenEvent
()
src/cli/transports/WebSocketTransport.ts:296
↓ 2 callers
Function
handleOperatorInput
* Handle operator input (motion, find, text object scope). * Returns null if input is not recognized.
src/vim/transitions.ts:206
↓ 2 callers
Function
handlePromptSubmit
( params: HandlePromptSubmitParams, )
src/utils/handlePromptSubmit.ts:120
↓ 2 callers
Function
handleReconnectResult
(result: { client: MCPServerConnection; tools: Tool[]; commands: Command[]; resources?: ServerResource
src/components/mcp/utils/reconnectHelpers.tsx:12
↓ 2 callers
Function
handleResponse
(value: ResponseValue)
src/components/permissions/ExitPlanModePermissionRequest/ExitPlanModePermissionRequest.tsx:274
↓ 2 callers
Function
handleRewindFiles
( userMessageId: UUID, appState: AppState, setAppState: (updater: (prev: AppState) => AppState) => void,
src/cli/print.ts:4520
↓ 2 callers
Function
handleServerControlRequest
( request: SDKControlRequest, handlers: ServerControlRequestHandlers, )
src/bridge/bridgeMessaging.ts:243
↓ 2 callers
Function
handleSpawnInProcess
* Handle spawn operation for in-process teammates. * In-process teammates run in the same Node.js process using AsyncLocalStorage.
src/tools/shared/spawnMultiAgent.ts:840
↓ 2 callers
Function
hasAccessToIDEExtensionDiffFeature
( mcpClients: MCPServerConnection[], )
src/utils/ide.ts:838
↓ 2 callers
Function
hasActiveInProcessTeammates
(appState: AppState)
src/utils/teammate.ts:205
↓ 2 callers
Function
hasAnyAutoEdge
(edges: Value[])
src/native-ts/yoga-layout/index.ts:256
↓ 2 callers
Function
hasAnyToolInProgress
( message: CollapsedReadSearchGroup, inProgressToolUseIDs: Set<string>, )
src/utils/collapseReadSearch.ts:486
↓ 2 callers
Function
hasApiKeyHelper
* Check if settings have apiKeyHelper configured
src/components/TrustDialog/utils.ts:136
↓ 2 callers
Function
hasAutoMemPathOverride
()
src/memdir/paths.ts:194
↓ 2 callers
Function
hasAutoModeOptInAnySource
()
src/utils/permissions/permissionSetup.ts:1362
↓ 2 callers
Function
hasAwsCommands
* Check if settings have AWS commands configured
src/components/TrustDialog/utils.ts:163
↓ 2 callers
Function
hasBashPermission
(rules: PermissionRule[])
src/components/TrustDialog/utils.ts:45
↓ 2 callers
Function
hasBinaryExtension
(filePath: string)
src/constants/files.ts:117
↓ 2 callers
Function
hasClaudeAiMcpEverConnected
(name: string)
src/services/mcp/claudeai.ts:162
↓ 2 callers
Function
hasCommandNamed
( parsed: ParsedPowerShellCommand, name: string, )
src/utils/powershell/parser.ts:1545
↓ 2 callers
Function
hasCommandWithArguments
(isAtEndWithWhitespace: boolean, value: string)
src/hooks/useTypeahead.tsx:343
↓ 2 callers
Function
hasConsoleBillingAccess
()
src/utils/billing.ts:10
↓ 2 callers
Function
hasDangerousEnvVars
* Check if settings have dangerous environment variables configured. * Any env var NOT in SAFE_ENV_VARS is considered dangerous.
src/components/TrustDialog/utils.ts:218
↓ 2 callers
Function
hasExitedPlanModeInSession
()
src/bootstrap/state.ts:1333
↓ 2 callers
Function
hasExternalClaudeMdIncludes
(files: MemoryFileInfo[])
src/utils/claudemd.ts:1416
↓ 2 callers
Function
hasGcpCommands
* Check if settings have GCP commands configured
src/components/TrustDialog/utils.ts:190
↓ 2 callers
Function
hasHooks
(settings: SettingsJson | null)
src/components/TrustDialog/utils.ts:8
↓ 2 callers
Function
hasImageBlock
( content: NonNullable<ToolResultBlockParam['content']>, )
src/utils/toolResultStorage.ts:507
↓ 2 callers
Function
hasInstructionsLoadedHook
()
src/utils/hooks.ts:4314
↓ 2 callers
Function
hasMalformedTokens
( command: string, parsed: ParseEntry[], )
src/utils/bash/shellQuote.ts:117
↓ 2 callers
Function
hasOtelHeadersHelper
* Check if settings have otelHeadersHelper configured
src/components/TrustDialog/utils.ts:109
↓ 2 callers
Function
hasRequiredMcpServers
( agent: AgentDefinition, availableServers: string[], )
src/tools/AgentTool/loadAgentsDir.ts:229
↓ 2 callers
Function
hasSlackMcpServer
(clients: MCPServerConnection[])
src/utils/suggestions/slackChannelSuggestions.ts:102
↓ 2 callers
Function
hasSuspiciousWindowsPathPattern
* Detects suspicious Windows path patterns that could bypass security checks. * These patterns include: * - NTFS Alternate Data Streams (e.g., file.
src/utils/permissions/filesystem.ts:537
↓ 2 callers
Function
hasTextBlocks
(message: Message)
src/services/compact/sessionMemoryCompact.ts:135
↓ 2 callers
Function
hasThinkingBlocks
* Check if messages contain thinking blocks
src/services/tokenEstimation.ts:38
↓ 2 callers
Function
hasThinkingContent
(m: { type: string; message?: { content: Array<{ type: string; }>; }; })
src/components/Message.tsx:591
↓ 2 callers
Function
hasToolResultContent
* Check whether a user message's content contains tool_result blocks. * This is more reliable than checking `toolUseResult === undefined` because *
src/utils/attachments.ts:2447
↓ 2 callers
Function
hashMcpConfig
(config: ScopedMcpServerConfig)
src/services/mcp/utils.ts:157
↓ 2 callers
Function
hashMessage
* Generate a hash for a message based on its content.
src/utils/telemetry/betaSessionTracing.ts:136
↓ 2 callers
Function
hashString
* Computes a simple numeric hash of a string for analytics grouping. * Uses djb2 algorithm, returning a 32-bit unsigned integer.
src/utils/imageResizer.ts:130
↓ 2 callers
Function
hashString
(s: string)
src/buddy/companion.ts:27
↓ 2 callers
Function
hashToId
(input: string)
src/services/mcp/channelPermissions.ts:112
↓ 2 callers
Function
headlessProfilerStartTurn
()
src/utils/headlessProfiler.ts:62
↓ 2 callers
Function
hideTeammate
* Hide a teammate pane using the backend abstraction. * Only available for ant users (gated for dead code elimination in external builds)
src/components/teams/TeamsDialog.tsx:633
↓ 2 callers
Function
highlightLine
( state: { lang: string | null; stack: unknown }, line: string, theme: Theme, )
src/native-ts/color-diff/index.ts:504
↓ 2 callers
Function
hitTest
( node: DOMElement, col: number, row: number, )
src/ink/hit-test.ts:18
↓ 2 callers
Function
hookSourceHeaderDisplayString
(source: HookSource)
src/utils/hooks/hooksSettings.ts:192
↓ 2 callers
Function
hueToRgb
(hue: number)
src/components/Spinner/utils.ts:32
↓ 2 callers
Function
ideOnboardingDialog
()
src/utils/ide.ts:34
↓ 2 callers
Method
imageRefStartingAt
(offset: number)
src/utils/Cursor.ts:330
↓ 2 callers
Function
immediateFlushHistory
()
src/history.ts:292
↓ 2 callers
Function
increment
(map: Map<string, number>, key: string, value: number)
src/utils/contextAnalysis.ts:191
← previous
next →
3,301–3,400 of 11,484, ranked by callers