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
↓ 2 callers
Function
deduplicateLogsBySessionId
* Deduplicates logs by sessionId, keeping the entry with the newest * modified time. Returns sorted logs with sequential value indices.
src/utils/sessionStorage.ts:4955
↓ 2 callers
Function
defaultStyle
()
src/native-ts/yoga-layout/index.ts:167
↓ 2 callers
Function
deletePluginDataDir
(pluginId: string)
src/utils/plugins/pluginDirectories.ts:168
↓ 2 callers
Function
deletePluginOptions
(pluginId: string)
src/utils/plugins/pluginOptionsStorage.ts:210
↓ 2 callers
Function
deleteTask
( taskListId: string, taskId: string, )
src/utils/tasks.ts:393
↓ 2 callers
Method
deleteToLineEnd
()
src/utils/Cursor.ts:896
↓ 2 callers
Method
deleteToLineStart
()
src/utils/Cursor.ts:880
↓ 2 callers
Method
deleteWordAfter
()
src/utils/Cursor.ts:971
↓ 2 callers
Function
denialsFor
src/components/permissions/rules/PermissionRuleList.tsx:798
↓ 2 callers
Function
denyAutoMemTool
(tool: Tool, reason: string)
src/services/extractMemories/extractMemories.ts:154
↓ 2 callers
Method
dequeue
()
web/lib/performance/worker-pool.ts:87
↓ 2 callers
Function
deriveTitle
* Quick placeholder title: strip display tags, take the first sentence, * collapse whitespace, truncate to 50 chars. Returns undefined if the result
src/bridge/initReplBridge.ts:555
↓ 2 callers
Function
describeAxiosError
(err: unknown)
src/bridge/debugUtils.ts:60
↓ 2 callers
Function
describeTeammateActivity
(t: DeepImmutable<InProcessTeammateTaskState>)
src/components/tasks/taskStatusUtils.tsx:77
↓ 2 callers
Function
deserializeMessages
(serializedMessages: Message[])
src/utils/conversationRecovery.ts:154
↓ 2 callers
Function
deserializeMessagesWithInterruptDetection
( serializedMessages: Message[], )
src/utils/conversationRecovery.ts:164
↓ 2 callers
Method
destroySession
* Force-kill a session immediately (used by the REST API).
src/server/web/session-manager.ts:321
↓ 2 callers
Function
detectAndUninstallDelistedPlugins
()
src/utils/plugins/pluginBlocklist.ts:64
↓ 2 callers
Function
detectAsdf
()
src/utils/nativeInstaller/packageManagers.ts:81
↓ 2 callers
Function
detectColorMode
(theme: string)
src/native-ts/color-diff/index.ts:95
↓ 2 callers
Function
detectCommandSubstitution
( prev: ParseEntry | undefined, kept: ParseEntry[], index: number, )
src/utils/bash/commands.ts:1143
↓ 2 callers
Function
detectFileEncoding
(filePath: string)
src/utils/file.ts:100
↓ 2 callers
Function
detectGateway
({ headers, baseUrl, }: { headers?: globalThis.Headers baseUrl?: string })
src/services/api/logging.ts:107
↓ 2 callers
Function
detectJetBrainsIDEFromParentProcessAsync
()
src/utils/envDynamic.ts:64
↓ 2 callers
Function
detectLanguage
( filePath: string, firstLine: string | null, )
src/native-ts/color-diff/index.ts:422
↓ 2 callers
Function
detectLanguage
(filePath: string)
web/lib/fileViewerStore.ts:53
↓ 2 callers
Function
detectLineEndingsForString
(content: string)
src/utils/fileRead.ts:51
↓ 2 callers
Function
detectMagicDocHeader
( content: string, )
src/services/MagicDocs/magicDocs.ts:52
↓ 2 callers
Function
detectMise
()
src/utils/nativeInstaller/packageManagers.ts:62
↓ 2 callers
Function
detectPackageManager
()
src/services/voice.ts:151
↓ 2 callers
Function
detectPromptTooLong
* Detect API 400 "prompt is too long: N tokens > M maximum" errors and * parse the token counts. Returns undefined for any other error. * These are
src/utils/permissions/yoloClassifier.ts:1463
↓ 2 callers
Function
detectRunningIDEs
()
src/utils/ide.ts:1154
↓ 2 callers
Function
detectShell
()
src/utils/completionCache.ts:24
↓ 2 callers
Function
detectWinget
()
src/utils/nativeInstaller/packageManagers.ts:133
↓ 2 callers
Function
diff
(before: AnyObject, after: AnyObject)
src/ink/reconciler.ts:62
↓ 2 callers
Function
diffMarketplaces
( declared: Record<string, DeclaredMarketplace>, materialized: KnownMarketplacesFile, opts?: { projectRo
src/utils/plugins/reconciler.ts:50
↓ 2 callers
Method
disable
()
src/server/web/public/terminal.js:2017
↓ 2 callers
Function
disableAudioBellForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:289
↓ 2 callers
Method
discard
* Discards all pending and in-progress tools. Called when streaming fallback * occurs and results from the failed attempt should be abandoned. *
src/services/tools/StreamingToolExecutor.ts:69
↓ 2 callers
Method
disconnect
()
web/lib/collaboration/socket.ts:266
↓ 2 callers
Function
dismiss
(id: string)
web/components/ui/toast.tsx:51
↓ 2 callers
Method
dispatch
(slot: WorkerSlot, task: WorkerTask<T>)
web/lib/performance/worker-pool.ts:58
↓ 2 callers
Method
dispatchDiscrete
* Dispatch with discrete (sync) priority. * For user-initiated events: keyboard, click, focus, paste.
src/ink/events/dispatcher.ts:207
↓ 2 callers
Function
dispose
()
src/utils/hooks/fileChangedWatcher.ts:177
↓ 2 callers
Method
doDisconnect
()
src/cli/transports/WebSocketTransport.ts:380
↓ 2 callers
Function
doDownloadUserSettings
( maxRetries = DEFAULT_MAX_RETRIES, )
src/services/settingsSync/index.ts:157
↓ 2 callers
Function
doRequest
()
src/services/mcp/client.ts:374
↓ 2 callers
Function
doUninstall
(deleteDataDir: boolean)
src/commands/plugin/ManagePlugins.tsx:1556
↓ 2 callers
Function
doesMostRecentAssistantMessageExceed200k
( messages: Message[], )
src/utils/tokens.ts:159
↓ 2 callers
Function
done
(result: T)
src/interactiveHelpers.tsx:41
↓ 2 callers
Method
down
()
src/utils/Cursor.ts:377
↓ 2 callers
Method
downLogicalLine
()
src/utils/Cursor.ts:533
↓ 2 callers
Function
downloadUserSettings
()
src/services/settingsSync/index.ts:129
↓ 2 callers
Function
downloadVersionFromBinaryRepo
( version: string, stagingPath: string, baseUrl: string, authConfig?: { auth?: { username: string;
src/utils/nativeInstaller/download.ts:382
↓ 2 callers
Method
drain
* Drain loop. At most one instance runs at a time (guarded by this.draining). * Sends batches serially. On failure, backs off and retries indefinit
src/cli/transports/SerialBatchEventUploader.ts:156
↓ 2 callers
Function
drainFlushGate
()
src/bridge/remoteBridgeCore.ts:607
↓ 2 callers
Function
drainFlushGate
()
src/bridge/replBridge.ts:848
↓ 2 callers
Method
drainWriteQueue
()
src/utils/sessionStorage.ts:645
↓ 2 callers
Function
dropContainedSpans
* Drops spans that are fully contained within another span, keeping only the * outermost. Nested quotes (e.g., `"$(echo 'hi')"`) yield overlapping sp
src/utils/bash/treeSitterAnalysis.ts:159
↓ 2 callers
Function
dropSubtreeCache
(node: DOMElement)
src/ink/render-node-to-output.ts:1450
↓ 2 callers
Function
dumpErrorPrompts
* Dump classifier input prompts + context-comparison diagnostics on API error. * Written to a session-scoped file in the claude temp dir so /share ca
src/utils/permissions/yoloClassifier.ts:213
↓ 2 callers
Function
eagerParseCliFlag
( flagName: string, argv: string[] = process.argv, )
src/utils/cliArgs.ts:13
↓ 2 callers
Function
embedTextInBorder
( borderLine: string, text: string, align: 'start' | 'end' | 'center', offset: number = 0, borderCha
src/ink/render-border.ts:35
↓ 2 callers
Function
emit
()
web/components/ui/toast.tsx:28
↓ 2 callers
Function
emitHookStarted
( hookId: string, hookName: string, hookEvent: string, )
src/utils/hooks/hookEvents.ts:93
↓ 2 callers
Function
emitProcessMetadata
* Emit metadata events for a process/agent
src/utils/telemetry/perfettoTracing.ts:340
↓ 2 callers
Function
enable
()
src/utils/cronScheduler.ts:396
↓ 2 callers
Function
enableOptionAsMetaForProfile
(profileName: string)
src/commands/terminalSetup/terminalSetup.tsx:270
↓ 2 callers
Function
endLLMRequestSpan
( span?: Span, metadata?: { inputTokens?: number outputTokens?: number cacheReadTokens?: numbe
src/utils/telemetry/sessionTracing.ts:353
↓ 2 callers
Method
endOfVimWord
()
src/utils/Cursor.ts:691
↓ 2 callers
Method
endOfWORD
()
src/utils/Cursor.ts:788
↓ 2 callers
Function
endToolBlockedOnUserSpan
( decision?: string, source?: string, )
src/utils/telemetry/sessionTracing.ts:577
↓ 2 callers
Function
endToolExecutionSpan
(metadata?: { success?: boolean error?: string })
src/utils/telemetry/sessionTracing.ts:657
↓ 2 callers
Method
enqueue
(value: T)
src/utils/stream.ts:38
↓ 2 callers
Method
enqueue
* If flush is active, queue the items and return true. * If flush is not active, return false (caller should send directly).
src/bridge/flushGate.ts:46
↓ 2 callers
Function
enqueueRemoteReviewFailureNotification
* Enqueue a remote-review failure notification.
src/tasks/RemoteAgentTask/RemoteAgentTask.tsx:347
↓ 2 callers
Function
enqueueResult
(value: string)
src/utils/processUserInput/processSlashCommand.tsx:126
↓ 2 callers
Function
ensureModelStringsInitialized
()
src/utils/model/modelStrings.ts:152
↓ 2 callers
Function
ensurePermissionDirsAsync
* Ensure the permissions directory structure exists (async)
src/utils/swarm/permissionSync.ts:133
↓ 2 callers
Function
ensureServerStarted
* Ensure the appropriate LSP server is started for the given file. * Returns undefined if no server handles this file type. * * @throws {Erro
src/services/lsp/LSPServerManager.ts:215
↓ 2 callers
Function
envSessionKind
* Kind override from env. Set by the spawner (`claude --bg`, daemon * supervisor) so the child can register without the parent having to * write the
src/utils/concurrentSessions.ts:31
↓ 2 callers
Method
eraseInDisplay
(e3, t3 = false)
src/server/web/public/terminal.js:2942
↓ 2 callers
Method
eraseInLine
(e3, t3 = false)
src/server/web/public/terminal.js:2963
↓ 2 callers
Method
error
(message: string, ...args: unknown[])
src/utils/computerUse/hostAdapter.ts:25
↓ 2 callers
Function
escapeRegex
(str: string)
web/components/file-viewer/SearchBar.tsx:248
↓ 2 callers
Function
escapeXmlAttr
(s: string)
src/utils/xml.ts:14
↓ 2 callers
Function
estimateSkillFrontmatterTokens
(skill: Command)
src/skills/loadSkillsDir.ts:100
↓ 2 callers
Method
event
()
src/server/web/public/terminal.js:2651
↓ 2 callers
Function
evictOldestEvents
* Drop the oldest half of events[] when over MAX_EVENTS. Called from the * stale-span cleanup interval (60s). The half-batch splice keeps this * amo
src/utils/telemetry/perfettoTracing.ts:232
↓ 2 callers
Function
evictOldestIfAtCap
()
src/utils/imageStore.ts:115
↓ 2 callers
Function
evictStaleSpans
* Evict pending spans older than STALE_SPAN_TTL_MS. * Mirrors the TTL cleanup pattern in sessionTracing.ts.
src/utils/telemetry/perfettoTracing.ts:187
↓ 2 callers
Function
execHttpHook
( hook: HttpHook, _hookEvent: HookEvent, jsonInput: string, signal?: AbortSignal, )
src/utils/hooks/execHttpHook.ts:123
↓ 2 callers
Function
executeEnvHooks
( hookInput: HookInput, timeoutMs: number, )
src/utils/hooks.ts:4241
↓ 2 callers
Function
executeInBackground
({ processId, hookId, shellCommand, asyncResponse, hookEvent, hookName, command, asyncRewake,
src/utils/hooks.ts:184
↓ 2 callers
Function
executeIndent
( dir: '>' | '<', count: number, ctx: OperatorContext, )
src/vim/operators.ts:348
↓ 2 callers
Function
executeInstructionsLoadedHooks
( filePath: string, memoryType: InstructionsMemoryType, loadReason: InstructionsLoadReason, options?:
src/utils/hooks.ts:4335
↓ 2 callers
Function
executeJoin
(count: number, ctx: OperatorContext)
src/vim/operators.ts:258
↓ 2 callers
Function
executeLineOp
( op: Operator, count: number, ctx: OperatorContext, )
src/vim/operators.ts:102
↓ 2 callers
Function
executeNonStreamingRequest
( clientOptions: { model: string fetchOverride?: Options['fetchOverride'] source: string },
src/services/api/claude.ts:818
↓ 2 callers
Function
executeOperatorFind
( op: Operator, findType: FindType, char: string, count: number, ctx: OperatorContext, )
src/vim/operators.ts:59
← previous
next →
3,201–3,300 of 13,048, ranked by callers