Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ functions
Functions
13,048 in github.com/codeaashu/claude-code
⨍
Functions
13,048
◇
Types & classes
657
↓ 1 callers
Function
findMatchingFiles
( fileIndex: FileIndex, partialPath: string, )
src/hooks/fileSuggestions.ts:618
↓ 1 callers
Function
findMissedTasks
(tasks: CronTask[], nowMs: number)
src/utils/cronTasks.ts:453
↓ 1 callers
Function
findModifiedFiles
( turnStartTime: TurnStartTime, outputsDir: string, )
src/utils/filePersistence/outputsScanner.ts:62
↓ 1 callers
Function
findNextDiff
* Scan for the next cell that differs between two Int32Arrays. * Returns the number of matching cells before the first difference, * or `count` if a
src/ink/screen.ts:1213
↓ 1 callers
Function
findNextPendingTask
(tasks: Task[] | undefined)
src/components/Spinner.tsx:551
↓ 1 callers
Function
findOverlyBroadPowerShellPermissions
( rules: PermissionRule[], cliAllowedTools: string[], )
src/utils/permissions/permissionSetup.ts:417
↓ 1 callers
Function
findPlainTextUrlAt
( screen: Screen, col: number, row: number, )
src/ink/selection.ts:272
↓ 1 callers
Function
findPluginByIdentifier
* Helper function to find a plugin from loaded plugins
src/services/plugins/pluginOperations.ts:206
↓ 1 callers
Function
findPluginInSettings
* Search all editable settings scopes for a plugin ID matching the given input. * * If `plugin` contains `@`, it's treated as a full pluginId and re
src/services/plugins/pluginOperations.ts:180
↓ 1 callers
Function
findPowerShell
()
src/utils/shell/powershellDetection.ts:24
↓ 1 callers
Method
findPrevious
(e3, t3)
src/server/web/public/terminal.js:6471
↓ 1 callers
Function
findQuoteObject
( text: string, offset: number, quote: string, isInner: boolean, )
src/vim/textObjects.ts:118
↓ 1 callers
Function
findRawIndex
(uuid: string)
src/screens/REPL.tsx:3751
↓ 1 callers
Function
findRelevantMemories
( query: string, memoryDir: string, signal: AbortSignal, recentTools: readonly string[] = [], alread
src/memdir/findRelevantMemories.ts:39
↓ 1 callers
Function
findRemoteBase
()
src/utils/git.ts:562
↓ 1 callers
Function
findReusableCacheEntry
( mcpQuery: string, searchToken: string, )
src/utils/suggestions/slackChannelSuggestions.ts:140
↓ 1 callers
Function
findSeedMarketplaceLocation
* Locate a marketplace in the seed directory by name. * * Probes the canonical locations under seedDir/marketplaces/ rather than * trusting the see
src/utils/plugins/marketplaceManager.ts:473
↓ 1 callers
Function
findSlackChannelPositions
( text: string, )
src/utils/suggestions/slackChannelSuggestions.ts:110
↓ 1 callers
Function
findSlashCommandPositions
( text: string, )
src/utils/suggestions/commandSuggestions.ts:552
↓ 1 callers
Function
findSuitableShell
()
src/utils/Shell.ts:73
↓ 1 callers
Function
findTeammateColor
( appState: { teamContext?: { teammates: { [id: string]: { color?: string } } } }, name: string, )
src/tools/SendMessageTool/SendMessageTool.ts:133
↓ 1 callers
Function
findTextObject
( text: string, offset: number, objectType: string, isInner: boolean, )
src/vim/textObjects.ts:38
↓ 1 callers
Function
findTokenBudgetPositions
( text: string, )
src/utils/tokenBudget.ts:31
↓ 1 callers
Function
findUnmatched
(entries: readonly ChannelEntry[], allowlist: ReturnType<typeof getEffectiveChannelAllowlist>)
src/components/LogoV2/ChannelsNotice.tsx:206
↓ 1 callers
Function
findUnresolvedToolUse
( toolUseId: string, )
src/utils/sessionStorage.ts:4478
↓ 1 callers
Function
findValidClaudeAlias
( options?: ShellConfigOptions, )
src/utils/shellConfig.ts:142
↓ 1 callers
Function
firstCommandToken
(command: string)
src/utils/claudeCodeHints.ts:130
↓ 1 callers
Function
firstWord
(s: string)
src/components/design-system/FuzzyPicker.tsx:308
↓ 1 callers
Function
flattenHljs
( node: HljsNode | string, theme: Theme, parentScope: string | undefined, out: Block[], )
src/native-ts/color-diff/index.ts:469
↓ 1 callers
Function
flush
()
src/utils/bufferedWriter.ts:37
↓ 1 callers
Method
flush
* Flush pending client events (writeEvent queue). Call before close() * when the caller needs delivery confirmation — close() abandons the * que
src/cli/transports/ccrClient.ts:831
↓ 1 callers
Function
flushDeferred
()
src/utils/bufferedWriter.ts:60
↓ 1 callers
Function
flushHistory
(msgs: Message[])
src/bridge/remoteBridgeCore.ts:624
↓ 1 callers
Function
flushInteractionTime
()
src/bootstrap/state.ts:680
↓ 1 callers
Method
flushInternalEvents
()
src/cli/remoteIO.ts:217
↓ 1 callers
Function
flushPromptHistory
(retries: number)
src/history.ts:329
↓ 1 callers
Method
flushStreamEvents
Delay timer fired — enqueue accumulated stream_events.
src/cli/transports/HybridTransport.ts:166
↓ 1 callers
Function
flushTelemetry
()
src/utils/telemetry/instrumentation.ts:707
↓ 1 callers
Method
focusNext
(root: DOMElement)
src/ink/focus.ts:102
↓ 1 callers
Method
focusPrevious
(root: DOMElement)
src/ink/focus.ts:106
↓ 1 callers
Method
forEachByKey
(e3, t3)
src/server/web/public/terminal.js:3607
↓ 1 callers
Method
forceEnd
* Force-end the current query regardless of generation. * Used by onCancel where any running query should be terminated. * Increments generation
src/utils/QueryGuard.ts:88
↓ 1 callers
Method
forceRedraw
* Clear the physical terminal and force a full redraw. * * The traditional readline ctrl+l — clears the visible screen and * redraws the curr
src/ink/ink.tsx:825
↓ 1 callers
Function
forceRemoveLock
* Force-remove a lock file for a given version path. * Used when --force is specified to bypass stale locks.
src/utils/nativeInstaller/installer.ts:1171
↓ 1 callers
Function
forceStopPreventSleep
()
src/services/preventSleep.ts:64
↓ 1 callers
Function
formatActionForClassifier
( toolName: string, toolInput: unknown, )
src/utils/permissions/yoloClassifier.ts:1487
↓ 1 callers
Function
formatAgentLine
(agent: AgentDefinition)
src/tools/AgentTool/prompt.ts:43
↓ 1 callers
Function
formatBashError
(e: unknown, pattern: string, inline = false)
src/utils/promptShellExecution.ts:167
↓ 1 callers
Function
formatBytes
(bytes: number)
web/components/file-viewer/FileInfoBar.tsx:11
↓ 1 callers
Function
formatCommand
(command: string)
src/utils/suggestions/commandSuggestions.ts:221
↓ 1 callers
Function
formatCommandDescription
(cmd: Command)
src/tools/SkillTool/prompt.ts:52
↓ 1 callers
Function
formatCommandsWithinBudget
( commands: Command[], contextWindowTokens?: number, )
src/tools/SkillTool/prompt.ts:70
↓ 1 callers
Function
formatCompactSummary
(summary: string)
src/services/compact/prompt.ts:311
↓ 1 callers
Function
formatConnectorsInfo
(connectors: ConnectorInfo[])
src/skills/bundled/scheduleRemoteAgents.ts:97
↓ 1 callers
Function
formatContextAsMarkdownTable
(data: ContextData)
src/commands/context/context-noninteractive.ts:90
↓ 1 callers
Function
formatCronFireTime
(d: Date)
src/hooks/useScheduledTasks.ts:129
↓ 1 callers
Function
formatDangerousSettingsList
( dangerous: DangerousSettings, )
src/components/ManagedSettingsSecurityDialog/utils.ts:123
↓ 1 callers
Function
formatDate
(timestamp: number)
web/lib/utils.ts:8
↓ 1 callers
Function
formatDateDisplay
Format an ISO date/datetime for display, keeping the ISO value for submission.
src/components/mcp/ElicitationDialog.tsx:80
↓ 1 callers
Function
formatDependencyCountSuffix
(installedDeps: string[])
src/utils/plugins/dependencyResolver.ts:289
↓ 1 callers
Function
formatDiagnosticsForAttachment
( params: PublishDiagnosticsParams, )
src/services/lsp/passiveFeedback.ts:43
↓ 1 callers
Method
formatDiagnosticsSummary
* Format diagnostics into a human-readable summary string. * This is useful for displaying diagnostics in messages or logs. * * @param files
src/services/diagnosticTracking.ts:352
↓ 1 callers
Function
formatDiff
(lines: string[], startingLineNumber: number, width: number, dim: boolean, overrideTheme?: ThemeName)
src/components/StructuredDiff/Fallback.tsx:349
↓ 1 callers
Function
formatDocumentSymbolNode
* Formats a single DocumentSymbol with indentation
src/tools/LSPTool/formatters.ts:307
↓ 1 callers
Function
formatDocumentSymbolResult
( result: DocumentSymbol[] | SymbolInformation[] | null, cwd?: string, )
src/tools/LSPTool/formatters.ts:340
↓ 1 callers
Function
formatFailureErrors
( failures: Array<{ name: string; error: string }>, )
src/utils/plugins/marketplaceHelpers.ts:149
↓ 1 callers
Function
formatFailureNames
( failures: Array<{ name: string; error: string }>, )
src/utils/plugins/marketplaceHelpers.ts:143
↓ 1 callers
Function
formatFileLines
Format file content with line numbers.
src/tools/FileReadTool/FileReadTool.ts:725
↓ 1 callers
Function
formatFindReferencesResult
( result: Location[] | null, cwd?: string, )
src/tools/LSPTool/formatters.ts:174
↓ 1 callers
Function
formatHoverResult
(result: Hover | null, _cwd?: string)
src/tools/LSPTool/formatters.ts:253
↓ 1 callers
Function
formatIdleDuration
(minutes: number)
src/components/IdleReturnDialog.tsx:104
↓ 1 callers
Function
formatImageRef
(id: number)
src/history.ts:58
↓ 1 callers
Function
formatIncomingCallsResult
( result: CallHierarchyIncomingCall[] | null, cwd?: string, )
src/tools/LSPTool/formatters.ts:478
↓ 1 callers
Function
formatKeyCombo
(keyString: string)
web/lib/keyParser.ts:55
↓ 1 callers
Function
formatLockHeld
(holder: string)
src/utils/computerUse/wrapper.tsx:56
↓ 1 callers
Function
formatMessagesForContext
* Format user messages for new_context display, separating system reminders. * Only handles user messages (assistant messages are filtered out before
src/utils/telemetry/betaSessionTracing.ts:166
↓ 1 callers
Function
formatModelAndBilling
( modelName: string, billingType: string, availableWidth: number, )
src/utils/logoV2Utils.ts:272
↓ 1 callers
Function
formatModelUsage
()
src/cost-tracker.ts:181
↓ 1 callers
Function
formatOutgoingCallsResult
( result: CallHierarchyOutgoingCall[] | null, cwd?: string, )
src/tools/LSPTool/formatters.ts:538
↓ 1 callers
Function
formatOutput
(content: string)
src/tools/BashTool/utils.ts:133
↓ 1 callers
Function
formatPeakDay
(dateStr: string)
src/components/Stats.tsx:27
↓ 1 callers
Function
formatPrepareCallHierarchyResult
( result: CallHierarchyItem[] | null, cwd?: string, )
src/tools/LSPTool/formatters.ts:455
↓ 1 callers
Function
formatRecentMessages
(messages: Message[])
src/utils/hooks/skillImprovement.ts:39
↓ 1 callers
Function
formatResetText
( resetsAt: string, showTimezone: boolean = false, showTime: boolean = true, )
src/utils/format.ts:291
↓ 1 callers
Function
formatResult
* Formats LSP result based on operation type and extracts summary counts
src/tools/LSPTool/LSPTool.ts:636
↓ 1 callers
Function
formatTaskAsPrompt
* Format a task as a prompt for the teammate to work on.
src/utils/swarm/inProcessRunner.ts:610
↓ 1 callers
Function
formatTaskAsPrompt
* Format a task as a prompt for Claude to work on.
src/hooks/useTaskListWatcher.ts:213
↓ 1 callers
Function
formatTaskOutput
( output: string, taskId: string, )
src/utils/task/outputFormatting.ts:22
↓ 1 callers
Function
formatTeammateMessageContent
(content: string)
src/components/messages/PlanApprovalMessage.tsx:190
↓ 1 callers
Function
formatTime
* Format a timestamp as "h:mm:ssa" (e.g., "1:30:45pm"). * Replaces date-fns format() to avoid pulling in a 39MB dependency for one call.
src/components/SandboxViolationExpandedView.tsx:12
↓ 1 callers
Function
formatTimestamp
(date: Date)
src/commands/export/export.tsx:10
↓ 1 callers
Method
formatTokens
( response: OAuthTokenExchangeResponse, subscriptionType: SubscriptionType | null, rateLimitTier:
src/services/oauth/index.ts:169
↓ 1 callers
Function
formatToolInput
(input: unknown)
src/utils/permissions/permissionExplainer.ts:86
↓ 1 callers
Function
formatToolUseSummary
(name: string, input: unknown)
src/components/tasks/RemoteSessionDetailDialog.tsx:44
↓ 1 callers
Function
formatTranscriptForFacets
(log: LogOption)
src/commands/insights.ts:831
↓ 1 callers
Function
formatTranscriptWithSummarization
( log: LogOption, )
src/commands/insights.ts:906
↓ 1 callers
Function
formatTruncatedTextRef
(id: number, numLines: number)
src/components/PromptInput/inputPaste.ts:57
↓ 1 callers
Function
formatUri
(uri: string)
src/components/messages/UserResourceUpdateMessage.tsx:48
↓ 1 callers
Function
formatZodValidationError
( toolName: string, error: ZodError, )
src/utils/toolErrors.ts:66
↓ 1 callers
Method
free
()
src/ink/layout/yoga.ts:291
← previous
next →
6,001–6,100 of 13,048, ranked by callers