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
propsEqual
* Check if two SpanProps are equal for merging.
src/ink/Ansi.tsx:212
↓ 1 callers
Method
provideLinks
(e3, t3)
src/server/web/public/terminal.js:376
↓ 1 callers
Function
provisionContentReplacementState
( initialMessages?: Message[], initialContentReplacements?: ContentReplacementRecord[], )
src/utils/toolResultStorage.ts:447
↓ 1 callers
Function
pruneRemovedPluginHooks
()
src/utils/plugins/loadPluginHooks.ts:179
↓ 1 callers
Function
query
( params: QueryParams, )
src/query.ts:219
↓ 1 callers
Function
query
( q: string, limit = 20 )
web/lib/workers/search.worker.ts:81
↓ 1 callers
Function
queryLoop
( params: QueryParams, consumedCommandUuids: string[], )
src/query.ts:241
↓ 1 callers
Method
queueFailedEvents
( events: FirstPartyEventLoggingEvent[], )
src/services/analytics/firstPartyEventLoggingExporter.ts:430
↓ 1 callers
Function
quoteProblematicValues
* Pre-processes frontmatter text to quote values that contain special YAML characters. * This allows glob patterns like **\/*.{ts,tsx} to be parsed c
src/utils/frontmatterParser.ts:85
↓ 1 callers
Function
quoteShellCommand
( command: string, addStdinRedirect: boolean = true, )
src/utils/bash/shellQuoting.ts:46
↓ 1 callers
Function
randomInt
* Generate a cryptographically random integer in the range [0, max)
src/utils/words.ts:767
↓ 1 callers
Function
rawSettingsContainsKey
(key: string)
src/utils/settings/settings.ts:984
↓ 1 callers
Method
read
()
src/utils/claudeInChrome/chromeNativeHost.ts:501
↓ 1 callers
Method
read
()
src/cli/structuredIO.ts:215
↓ 1 callers
Function
readAgentMetadata
( agentId: AgentId, )
src/utils/sessionStorage.ts:292
↓ 1 callers
Function
readAllAndSort
* Read-all path for when no limit/offset is set. Skips the stat pass * entirely — reads every candidate, then sorts/dedups on real mtimes * from rea
src/utils/listSessionsImpl.ts:278
↓ 1 callers
Function
readAutoModeEnabledState
()
src/services/mcp/vscodeSdkMcp.ts:14
↓ 1 callers
Function
readBridgePointerAcrossWorktrees
( dir: string, )
src/bridge/bridgePointer.ts:129
↓ 1 callers
Function
readClaudeDesktopMcpServers
()
src/utils/claudeDesktop.ts:98
↓ 1 callers
Function
readEditContext
( path: string, needle: string, contextLines = 3, )
src/utils/readEditContext.ts:31
↓ 1 callers
Function
readFileForEdit
(absoluteFilePath: string)
src/tools/FileEditTool/FileEditTool.ts:599
↓ 1 callers
Function
readFileInRangeFast
( raw: string, mtimeMs: number, offset: number, maxLines: number | undefined, truncateAtBytes: numbe
src/utils/readFileInRange.ts:128
↓ 1 callers
Function
readFileInRangeStreaming
( filePath: string, offset: number, maxLines: number | undefined, maxBytes: number | undefined, trun
src/utils/readFileInRange.ts:344
↓ 1 callers
Function
readFileSafe
(filepath: string)
src/utils/file.ts:50
↓ 1 callers
Function
readFileTailSync
* Sync tail read for reAppendSessionMetadata's external-writer check. * fstat on the already-open fd (no extra path lookup); reads the same * LITE_R
src/utils/sessionStorage.ts:2592
↓ 1 callers
Function
readHeadAndTail
( filePath: string, fileSize: number, buf: Buffer, )
src/utils/sessionStoragePortable.ts:215
↓ 1 callers
Function
readIdeLockfile
(path: string)
src/utils/ide.ts:346
↓ 1 callers
Method
readInternalEvents
* Read foreground agent internal events from * GET /sessions/{id}/worker/internal-events. * Returns transcript entries from the last compaction
src/cli/transports/ccrClient.ts:842
↓ 1 callers
Function
readLastFetchTime
( cwd: string, )
src/utils/deepLink/banner.ts:88
↓ 1 callers
Function
readLinesReverse
( path: string, )
src/utils/fsOperations.ts:722
↓ 1 callers
Function
readLiteMetadata
* Reads the first and last ~64KB of a JSONL file and extracts lite metadata. * * Head (first 64KB): isSidechain, projectPath, teamName, firstPrompt.
src/utils/sessionStorage.ts:4739
↓ 1 callers
Function
readLocalTeamMemory
* Read all team memory files from the local directory into a flat key-value map. * Keys are relative paths from the team memory directory. * Empty f
src/services/teamMemorySync/index.ts:567
↓ 1 callers
Function
readMarketplaceJsonContent
* Read marketplace.json content from a cloned marketplace directory or file. * For directory sources: checks .claude-plugin/marketplace.json, marketp
src/utils/plugins/zipCacheAdapters.ts:120
↓ 1 callers
Function
readMemoriesForSurfacing
( selected: ReadonlyArray<{ path: string; mtimeMs: number }>, signal?: AbortSignal, )
src/utils/attachments.ts:2279
↓ 1 callers
Function
readNotebook
( notebookPath: string, cellId?: string, )
src/utils/notebook.ts:164
↓ 1 callers
Function
readPDF
(filePath: string)
src/utils/pdf.ts:34
↓ 1 callers
Function
readRawSymref
( gitDir: string, refPath: string, branchPrefix: string, )
src/utils/git/gitFilesystem.ts:287
↓ 1 callers
Function
readResolvedPermission
( requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:320
↓ 1 callers
Function
readScrollSpeedBase
()
src/components/ScrollKeybindingHandler.tsx:305
↓ 1 callers
Function
readSeedKnownMarketplaces
( seedDir: string, )
src/utils/plugins/marketplaceManager.ts:436
↓ 1 callers
Function
readSessionLite
( filePath: string, )
src/utils/sessionStoragePortable.ts:256
↓ 1 callers
Function
readSessionStartDate
( filePath: string, )
src/utils/stats.ts:994
↓ 1 callers
Method
readStream
(body: ReadableStream<Uint8Array>)
src/cli/transports/SSETransport.ts:339
↓ 1 callers
Method
readSubagentInternalEvents
* Read all subagent internal events from * GET /sessions/{id}/worker/internal-events?subagents=true. * Returns a merged stream across all non-fo
src/cli/transports/ccrClient.ts:852
↓ 1 callers
Function
readTeamMembers
* Reads team members from the team file
src/utils/tasks.ts:724
↓ 1 callers
Function
readToken
(path: string)
src/upstreamproxy/upstreamproxy.ts:206
↓ 1 callers
Function
readTruncatedFile
()
src/utils/attachments.ts:3128
↓ 1 callers
Function
readWorktreeHeadSha
( worktreePath: string, )
src/utils/git/gitFilesystem.ts:619
↓ 1 callers
Function
readZipCacheKnownMarketplaces
()
src/utils/plugins/zipCacheAdapters.ts:38
↓ 1 callers
Function
readdirSync
(dirPath)
src/utils/fsOperations.ts:548
↓ 1 callers
Function
rearrangePipeCommand
(command: string)
src/utils/bash/bashPipeCommand.ts:14
↓ 1 callers
Method
reattach
* Attach a new WebSocket to an existing session. * Cancels any running grace timer. * Returns null if the session does not exist.
src/server/web/session-store.ts:78
↓ 1 callers
Function
rebind
(id: string, combo: string)
web/components/settings/KeyboardSettings.tsx:128
↓ 1 callers
Function
recollapsePastedContent
* Re-collapse expanded pasted text by finding content that matches * pastedContents and replacing it with references.
src/utils/promptEditor.ts:107
↓ 1 callers
Function
reconcileMcpServers
( desiredConfigs: Record<string, McpServerConfigForProcessTransport>, currentState: DynamicMcpState, set
src/cli/print.ts:5450
↓ 1 callers
Function
reconcileSparseCheckout
( cwd: string, sparsePaths: string[] | undefined, )
src/utils/plugins/marketplaceManager.ts:1034
↓ 1 callers
Method
reconnect
* Force reconnect the WebSocket. * Useful when the subscription becomes stale after container shutdown.
src/remote/RemoteSessionManager.ts:320
↓ 1 callers
Function
reconnectWithBackoff
()
src/services/mcp/useManageMCPConnections.ts:371
↓ 1 callers
Function
reconstructCommand
(kept: ParseEntry[], originalCmd: string)
src/utils/bash/commands.ts:1195
↓ 1 callers
Function
reconstructForSubagentResume
( parentState: ContentReplacementState | undefined, resumedMessages: Message[], sidechainRecords: Conten
src/utils/toolResultStorage.ts:1001
↓ 1 callers
Function
recordAutoModeDenial
(denial: AutoModeDenial)
src/utils/autoModeDenials.ts:19
↓ 1 callers
Function
recordDenial
(state: DenialTrackingState)
src/utils/permissions/denialTracking.ts:24
↓ 1 callers
Function
recordFirstStartTime
()
src/utils/config.ts:1768
↓ 1 callers
Function
recordPromptState
(snapshot: PromptStateSnapshot)
src/services/api/promptCacheBreakDetection.ts:247
↓ 1 callers
Function
recordQueueOperation
(queueOp: QueueOperationMessage)
src/utils/sessionStorage.ts:1464
↓ 1 callers
Function
recordShownTip
(tip: Tip)
src/services/tips/tipScheduler.ts:48
↓ 1 callers
Function
recordTipShown
(tipId: string)
src/services/tips/tipHistory.ts:3
↓ 1 callers
Method
recordUserActivity
* Called when user interacts with the CLI (typing, commands, etc.)
src/utils/activityManager.ts:60
↓ 1 callers
Function
recordYogaMs
(ms: number)
src/ink/reconciler.ts:205
↓ 1 callers
Function
recoverFromAuthFailure
()
src/bridge/remoteBridgeCore.ts:530
↓ 1 callers
Function
recoverOrphanedParallelToolResults
* Post-pass for buildConversationChain: recover sibling assistant blocks and * tool_results that the single-parent walk orphaned. * * Streaming (cl
src/utils/sessionStorage.ts:2118
↓ 1 callers
Function
recoverPlanFromMessages
* Recover plan content from the message history. Plan content can appear in * three forms depending on what happened during the session: * * 1. Exi
src/utils/plans.ts:279
↓ 1 callers
Method
recycle
()
src/server/web/public/terminal.js:2387
↓ 1 callers
Function
redactHeaders
* Redact header values for safe logging * * @param headers - Headers to redact * @returns Headers with values replaced by '***REDACTED***'
src/utils/plugins/marketplaceManager.ts:1186
↓ 1 callers
Function
redactSecrets
(s: string)
src/bridge/debugUtils.ts:26
↓ 1 callers
Function
refreshAgentDefinitionsForModeSwitch
( modeWasSwitched: boolean, currentCwd: string, cliAgents: AgentDefinition[], currentAgentDefinitions:
src/utils/sessionRestore.ts:251
↓ 1 callers
Function
refreshAllMarketplaces
()
src/utils/plugins/marketplaceManager.ts:2296
↓ 1 callers
Method
refreshAuthorization
( refreshToken: string, )
src/services/mcp/auth.ts:2090
↓ 1 callers
Function
refreshAwsAuth
(awsAuthRefresh: string)
src/utils/auth.ts:650
↓ 1 callers
Function
refreshGcpAuth
(gcpAuthRefresh: string)
src/utils/auth.ts:917
↓ 1 callers
Function
refreshGrowthBookFeatures
()
src/services/analytics/growthbook.ts:1027
↓ 1 callers
Function
refreshMdmSettings
()
src/utils/settings/mdm/settings.ts:166
↓ 1 callers
Function
refreshModelCapabilities
()
src/utils/model/modelCapabilities.ts:85
↓ 1 callers
Function
refreshOverageCreditGrantCache
()
src/services/api/overageCreditGrant.ts:77
↓ 1 callers
Function
refreshPluginState
()
src/cli/print.ts:1760
↓ 1 callers
Function
regenerateSessionId
( options: { setCurrentAsParent?: boolean } = {}, )
src/bootstrap/state.ts:435
↓ 1 callers
Function
registerAgentForeground
({ agentId, description, prompt, selectedAgent, setAppState, autoBackgroundMs, toolUseId }: {
src/tasks/LocalAgentTask/LocalAgentTask.tsx:526
↓ 1 callers
Function
registerBatchSkill
()
src/skills/bundled/batch.ts:100
↓ 1 callers
Function
registerBridgeDebugHandle
(h: BridgeDebugHandle)
src/bridge/bridgeDebug.ts:57
↓ 1 callers
Method
registerCharacterJoiner
(e3)
src/server/web/public/terminal.js:662
↓ 1 callers
Function
registerClaudeApiSkill
()
src/skills/bundled/claudeApi.ts:180
↓ 1 callers
Function
registerClaudeInChromeSkill
()
src/skills/bundled/claudeInChrome.ts:16
↓ 1 callers
Method
registerCsiHandler
(e3, t3)
src/server/web/public/terminal.js:2619
↓ 1 callers
Function
registerDebugSkill
()
src/skills/bundled/debug.ts:12
↓ 1 callers
Function
registerDreamTask
( setAppState: SetAppState, opts: { sessionsReviewing: number priorMtime: number abortControll
src/tasks/DreamTask/DreamTask.ts:52
↓ 1 callers
Function
registerElicitationHandler
( client: Client, serverName: string, setAppState: (f: (prevState: AppState) => AppState) => void, )
src/services/mcp/elicitationHandler.ts:68
↓ 1 callers
Method
registerEscHandler
(e3, t3)
src/server/web/public/terminal.js:4876
↓ 1 callers
Function
registerEscHotkey
(onEscape: () => void)
src/utils/computerUse/escHotkey.ts:25
↓ 1 callers
Function
registerFileReadListener
( listener: FileReadListener, )
src/tools/FileReadTool/FileReadTool.ts:165
↓ 1 callers
Function
registerFrontmatterHooks
( setAppState: (updater: (prev: AppState) => AppState) => void, sessionId: string, hooks: HooksSettings,
src/utils/hooks/registerFrontmatterHooks.ts:18
← previous
next →
8,001–8,100 of 13,048, ranked by callers