Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/freecodexyz/free-code
/ functions
Functions
11,548 in github.com/freecodexyz/free-code
⨍
Functions
11,548
◇
Types & classes
343
↓ 1 callers
Function
deleteClassifierApproval
(toolUseID: string)
src/utils/classifierApprovals.ts:80
↓ 1 callers
Method
deleteOutputFile
Delete the output file (fire-and-forget safe).
src/utils/task/TaskOutput.ts:373
↓ 1 callers
Function
deletePermissionRule
({ rule, initialContext, setToolPermissionContext, }: EditPermissionRuleArgs & { rule: PermissionRule })
src/utils/permissions/permissions.ts:1329
↓ 1 callers
Function
deletePermissionRuleFromSettings
( rule: PermissionRuleFromEditableSettings, )
src/utils/permissions/permissionsLoader.ts:163
↓ 1 callers
Function
deleteRemoteAgentMetadata
(taskId: string)
src/utils/sessionStorage.ts:359
↓ 1 callers
Function
deleteResolvedPermission
( requestId: string, teamName?: string, )
src/utils/swarm/permissionSync.ts:607
↓ 1 callers
Function
deriveFirstPrompt
( firstUserMessage: Extract<SerializedMessage, { type: 'user' }> | undefined, )
src/commands/branch/branch.ts:38
↓ 1 callers
Function
deriveReviewState
( isDraft: boolean, reviewDecision: string, )
src/utils/ghPrStatus.ts:26
↓ 1 callers
Function
deriveSessionTitle
Derive a session title from a user message: first line, truncated.
src/bridge/bridgeMain.ts:1956
↓ 1 callers
Function
deriveShortMessageId
(uuid: string)
src/utils/messages.ts:200
↓ 1 callers
Function
desanitizeMatchString
* Normalizes a match string by applying specific replacements * This helps handle when exact matches fail due to formatting differences * @returns T
src/tools/FileEditTool/utils.ts:557
↓ 1 callers
Function
descriptionAlreadyExists
* Check if a description already exists in the allow list. * Compares lowercase and trailing-whitespace-trimmed versions.
src/components/permissions/BashPermissionRequest/bashToolUseOptions.tsx:15
↓ 1 callers
Function
deserializeLogEntry
(line: string)
src/history.ts:102
↓ 1 callers
Function
destroyWorktree
* Destroys a git worktree at the given path. * First attempts to use `git worktree remove`, then falls back to rm -rf. * Safe to call on non-existen
src/utils/swarm/teamHelpers.ts:492
↓ 1 callers
Method
detachForShutdown
* Mark this instance as unmounted so future unmount() calls early-return. * Called by gracefulShutdown's cleanupTerminalModes() after it has sent
src/ink/ink.tsx:932
↓ 1 callers
Function
detectAvailableBrowser
()
src/utils/claudeInChrome/common.ts:345
↓ 1 callers
Function
detectBlockedSleepPattern
(command: string)
src/tools/PowerShellTool/PowerShellTool.tsx:189
↓ 1 callers
Function
detectBlockedSleepPattern
(command: string)
src/tools/BashTool/BashTool.tsx:322
↓ 1 callers
Function
detectCodeIndexingFromCommand
( command: string, )
src/utils/codeIndexing.ts:126
↓ 1 callers
Function
detectCodeIndexingFromMcpServerName
( serverName: string, )
src/utils/codeIndexing.ts:196
↓ 1 callers
Function
detectConfigurationIssues
( type: InstallationType, )
src/utils/doctorDiagnostic.ts:317
↓ 1 callers
Function
detectDelistedPlugins
( installedPlugins: InstalledPluginsFileV2, marketplace: PluginMarketplace, marketplaceName: string, )
src/utils/plugins/pluginBlocklist.ts:34
↓ 1 callers
Function
detectEmptyMarketplaceReason
({ configuredMarketplaceCount, failedMarketplaceCount, }: { configuredMarketplaceCount: number failedM
src/utils/plugins/marketplaceHelpers.ts:550
↓ 1 callers
Function
detectExtensionInstallationPortable
( browserPaths: BrowserPath[], log?: Logger, )
src/utils/claudeInChrome/setupPortable.ts:147
↓ 1 callers
Function
detectFromColorFgBg
* Read $COLORFGBG for a synchronous initial guess before the OSC 11 * round-trip completes. Format is `fg;bg` (or `fg;other;bg`) where values * are
src/utils/systemTheme.ts:109
↓ 1 callers
Function
detectGitOperation
( command: string, output: string, )
src/tools/shared/gitOperationTracking.ts:135
↓ 1 callers
Function
detectLanguage
()
src/skills/bundled/claudeApi.ts:30
↓ 1 callers
Function
detectLineEndings
( filePath: string, encoding: BufferEncoding = 'utf8', )
src/utils/file.ts:120
↓ 1 callers
Function
detectLinuxGlobPatternWarnings
()
src/utils/doctorDiagnostic.ts:487
↓ 1 callers
Function
detectLinuxTerminal
* Detect the user's preferred terminal on Linux. * Checks $TERMINAL, then x-terminal-emulator, then walks a priority list.
src/utils/deepLink/terminalLauncher.ts:127
↓ 1 callers
Function
detectMacosTerminal
* Detect the user's preferred terminal on macOS. * Checks running processes first (most likely to be what the user prefers), * then falls back to ch
src/utils/deepLink/terminalLauncher.ts:64
↓ 1 callers
Function
detectManifestType
* Detect whether a file is a plugin manifest or marketplace manifest
src/utils/plugins/validatePlugin.ts:54
↓ 1 callers
Function
detectMcpb
()
src/commands/plugin/ManagePlugins.tsx:827
↓ 1 callers
Function
detectMultiClauding
( sessions: Array<{ session_id: string user_message_timestamps: string[] }>, )
src/commands/insights.ts:1062
↓ 1 callers
Function
detectMultipleInstallations
()
src/utils/doctorDiagnostic.ts:205
↓ 1 callers
Function
detectPluginDirectories
(ideName: string)
src/utils/jetbrains.ts:85
↓ 1 callers
Function
detectPythonPackageManager
()
src/utils/swarm/backends/it2Setup.ts:40
↓ 1 callers
Function
detectRunningIDEsCached
()
src/utils/ide.ts:1164
↓ 1 callers
Function
detectRunningIDEsImpl
* Internal implementation of IDE detection.
src/utils/ide.ts:1075
↓ 1 callers
Function
detectSessionFileType
* Detects if a file path is a session-related file for analytics logging. * Only matches files within the Claude config directory (e.g., ~/.claude).
src/tools/FileReadTool/FileReadTool.ts:195
↓ 1 callers
Function
detectTerminal
()
src/utils/env.ts:135
↓ 1 callers
Function
detectTerminal
()
src/utils/deepLink/terminalLauncher.ts:183
↓ 1 callers
Function
detectTurnInterruption
* Determines whether the conversation was interrupted mid-turn based on the * last message after filtering. An assistant as last message (after filte
src/utils/conversationRecovery.ts:272
↓ 1 callers
Function
detectVcs
(dir?: string)
src/utils/platform.ts:129
↓ 1 callers
Function
detectWindowsTerminal
* Detect the user's preferred terminal on Windows.
src/utils/deepLink/terminalLauncher.ts:157
↓ 1 callers
Function
detectWorktreeMainRepoPath
* Detect if cwd is a git worktree and resolve the main repo path. * Called once during initialize() and cached for the session. * In a worktree, .gi
src/utils/sandbox/sandbox-adapter.ts:422
↓ 1 callers
Function
determineErrorType
* Determines the type of error based on the error message
src/components/ResumeTask.tsx:227
↓ 1 callers
Function
didLayoutShift
()
src/ink/render-node-to-output.ts:40
↓ 1 callers
Function
diffDifferentWidth
* Fallback: diff two screens with different widths (resize). * Separate indices for prev and next cells arrays.
src/ink/screen.ts:1378
↓ 1 callers
Function
diffRowAdded
* Emit additions for a row that only exists in next (height grew). * Skips empty/unwritten cells.
src/ink/screen.ts:1283
↓ 1 callers
Function
diffRowBoth
* Diff one row where both screens are in bounds. * Scans for differences with findNextDiff, unpacks and calls cb for each.
src/ink/screen.ts:1230
↓ 1 callers
Function
diffRowRemoved
* Emit removals for a row that only exists in prev (height shrank). * Cannot skip empty cells — the terminal still has content from the * previous f
src/ink/screen.ts:1263
↓ 1 callers
Function
diffSameWidth
* Diff two screens with identical width. * Dispatches each row to a small, JIT-friendly function.
src/ink/screen.ts:1305
↓ 1 callers
Function
dimContent
(h: Highlight)
src/native-ts/color-diff/index.ts:758
↓ 1 callers
Function
dirIsInGitRepo
(cwd: string)
src/utils/git.ts:253
↓ 1 callers
Function
disableAllPlugins
()
src/services/plugins/pluginCliCommands.ts:275
↓ 1 callers
Function
disableAllPluginsOp
()
src/services/plugins/pluginOperations.ts:782
↓ 1 callers
Function
disableHintRecommendations
()
src/utils/plugins/hintRecommendation.ts:156
↓ 1 callers
Function
disableKeepAlive
()
src/utils/proxy.ts:29
↓ 1 callers
Function
disablePlugin
( plugin: string, scope?: InstallableScope, )
src/services/plugins/pluginCliCommands.ts:236
↓ 1 callers
Method
disconnect
()
src/server/directConnectManager.ts:203
↓ 1 callers
Function
discoverAuthorizationServer
( asUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:178
↓ 1 callers
Function
discoverProtectedResource
( serverUrl: string, opts?: { fetchFn?: FetchLike }, )
src/services/mcp/xaa.ts:135
↓ 1 callers
Method
discoveryState
()
src/services/mcp/auth.ts:2037
↓ 1 callers
Function
dispatchClick
( root: DOMElement, col: number, row: number, cellIsBlank = false, )
src/ink/hit-test.ts:49
↓ 1 callers
Function
dispatchHover
( root: DOMElement, col: number, row: number, hovered: Set<DOMElement>, )
src/ink/hit-test.ts:102
↓ 1 callers
Method
dispatchKeyboardEvent
(parsedKey: ParsedKey)
src/ink/ink.tsx:1269
↓ 1 callers
Function
displayServerName
(name: string)
src/components/messages/UserChannelMessage.tsx:21
↓ 1 callers
Method
displayWidthToStringIndex
(text: string, targetWidth: number)
src/utils/Cursor.ts:1240
↓ 1 callers
Function
dispose
()
src/utils/skills/skillChangeDetector.ts:146
↓ 1 callers
Function
disposeKeybindingWatcher
()
src/keybindings/loadUserBindings.ts:409
↓ 1 callers
Method
doExport
( metrics: ResourceMetrics, resultCallback: (result: ExportResult) => void, )
src/utils/telemetry/bigqueryExporter.ts:87
↓ 1 callers
Method
doExport
( logs: ReadableLogRecord[], resultCallback: (result: ExportResult) => void, )
src/services/analytics/firstPartyEventLoggingExporter.ts:306
↓ 1 callers
Function
doFetch
()
src/utils/fastMode.ts:461
↓ 1 callers
Function
doInitialize
()
src/utils/tmuxSocket.ts:268
↓ 1 callers
Function
doParse
(command: string)
src/utils/bash/ParsedCommand.ts:270
↓ 1 callers
Function
doReadAsync
()
src/utils/secureStorage/macOsKeychainStorage.ts:178
↓ 1 callers
Function
doReconnect
()
src/bridge/replBridge.ts:617
↓ 1 callers
Function
doRefresh
(sessionId: string, gen: number)
src/bridge/jwtUtils.ts:165
↓ 1 callers
Function
doctorHandler
(root: Root)
src/cli/handlers/util.tsx:72
↓ 1 callers
Function
doesMessageExistInSession
( sessionId: UUID, messageUuid: UUID, )
src/utils/sessionStorage.ts:3861
↓ 1 callers
Function
doesSourceMatchHostPattern
* Check if a source matches a hostPattern entry. * Extracts the host from the source and tests it against the regex pattern. * * @param source - Th
src/utils/plugins/marketplaceHelpers.ts:278
↓ 1 callers
Function
doesSourceMatchPathPattern
* Check if a source matches a pathPattern entry. * Tests the source's .path (file and directory sources only) against the regex pattern. * * @param
src/utils/plugins/marketplaceHelpers.ts:305
↓ 1 callers
Function
downOrHistoryDown
()
src/hooks/useTextInput.ts:293
↓ 1 callers
Function
downloadAndSaveFile
( attachment: File, config: FilesApiConfig, )
src/services/api/filesApi.ts:219
↓ 1 callers
Function
downloadAndVerifyBinary
* Common logic for downloading and verifying a binary. * Includes stall detection (aborts if no bytes for 60s) and retry logic.
src/utils/nativeInstaller/download.ts:293
↓ 1 callers
Function
downloadCaBundle
( baseUrl: string, systemCaPath: string, outPath: string, )
src/upstreamproxy/upstreamproxy.ts:254
↓ 1 callers
Function
downloadFile
( fileId: string, config: FilesApiConfig, )
src/services/api/filesApi.ts:132
↓ 1 callers
Function
downloadMcpb
* Download MCPB file from URL
src/utils/plugins/mcpbHandler.ts:482
↓ 1 callers
Function
downloadSessionFiles
( files: File[], config: FilesApiConfig, concurrency: number = DEFAULT_CONCURRENCY, )
src/services/api/filesApi.ts:317
↓ 1 callers
Function
downloadVersion
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:487
↓ 1 callers
Function
downloadVersionFromArtifactory
( version: string, stagingPath: string, )
src/utils/nativeInstaller/download.ts:151
↓ 1 callers
Function
dragScrollDirection
(sel: SelectionState | null, top: number, bottom: number, alreadyScrollingDir: -1 | 0 | 1 = 0)
src/components/ScrollKeybindingHandler.tsx:810
↓ 1 callers
Method
drain
()
src/cli/transports/WorkerStateUploader.ts:54
↓ 1 callers
Function
drainAdaptive
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:124
↓ 1 callers
Function
drainCommandQueue
()
src/cli/print.ts:1934
↓ 1 callers
Function
drainPendingMessages
(taskId: string, getAppState: () => AppState, setAppState: (f: (prev: AppState) => AppState) => void)
src/tasks/LocalAgentTask/LocalAgentTask.tsx:181
↓ 1 callers
Function
drainProportional
( node: DOMElement, pending: number, innerHeight: number, )
src/ink/render-node-to-output.ts:161
↓ 1 callers
Function
drainStdin
(stdin: NodeJS.ReadStream = process.stdin)
src/ink/ink.tsx:1664
↓ 1 callers
Function
drainer
()
src/services/extractMemories/extractMemories.ts:288
← previous
next →
4,901–5,000 of 11,548, ranked by callers