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
hasBackslashEscapedWhitespace
* Detects backslash-escaped whitespace characters (space, tab) outside of quotes. * * In bash, `echo\ test` is a single token (command named "echo t
src/tools/BashTool/bashSecurity.ts:1549
↓ 1 callers
Function
hasCchPlaceholder
(body: string)
src/utils/cch.ts:26
↓ 1 callers
Function
hasCommandArgs
(input: string)
src/utils/suggestions/commandSuggestions.ts:208
↓ 1 callers
Method
hasCompletedResults
* Check if there are any completed results ready to yield
src/services/tools/StreamingToolExecutor.ts:495
↓ 1 callers
Function
hasContentAfterIndex
(messages: RenderableMessage[], index: number, tools: Tools, streamingToolUseIDs: Set<string>)
src/components/MessageRow.tsx:50
↓ 1 callers
Function
hasCursorUpViewportYankBug
()
src/ink/terminal.ts:177
↓ 1 callers
Function
hasDangerousSettingsChanged
( oldSettings: SettingsJson | null | undefined, newSettings: SettingsJson | null | undefined, )
src/components/ManagedSettingsSecurityDialog/utils.ts:87
↓ 1 callers
Method
hasExecutingTools
* Check if there are any tools still executing
src/services/tools/StreamingToolExecutor.ts:502
↓ 1 callers
Function
hasExistingEnvironment
()
src/commands/remote-setup/api.ts:102
↓ 1 callers
Function
hasFileArgs
(command: string)
src/tools/BashTool/sedValidation.ts:307
↓ 1 callers
Function
hasForegroundTasks
(state: AppState)
src/tasks/LocalShellTask/LocalShellTask.tsx:378
↓ 1 callers
Function
hasFrictionSignal
(messages: Message[])
src/hooks/useIssueFlagBanner.ts:74
↓ 1 callers
Function
hasGlobs
(path: string)
src/utils/sandbox/sandbox-adapter.ts:616
↓ 1 callers
Function
hasGrowthBookEnvOverride
(feature: string)
src/services/analytics/growthbook.ts:199
↓ 1 callers
Function
hasIdeOnboardingDialogBeenShown
()
src/components/IdeOnboardingDialog.tsx:149
↓ 1 callers
Function
hasImageInClipboard
()
src/utils/imagePaste.ts:96
↓ 1 callers
Function
hasManagedSettingsFile
* Check if file-based managed settings (managed-settings.json or any * managed-settings.d/*.json) exist and have content. Cheap sync check * used to
src/utils/settings/mdm/settings.ts:280
↓ 1 callers
Function
hasMarkdownSyntax
(s: string)
src/components/Markdown.tsx:32
↓ 1 callers
Function
hasMcpDiscoveryButNoToken
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:349
↓ 1 callers
Function
hasMeasureFuncInSubtree
(node: Node)
src/native-ts/yoga-layout/index.ts:2174
↓ 1 callers
Function
hasMemoryFileRead
(messages: Message[])
src/components/FeedbackSurvey/useMemorySurvey.tsx:24
↓ 1 callers
Function
hasMemoryWritesSince
* Returns true if any assistant message after the cursor UUID contains a * Write/Edit tool_use block targeting an auto-memory path. * * The main ag
src/services/extractMemories/extractMemories.ts:121
↓ 1 callers
Function
hasMessageAfterBoundary
(messages: Message[], boundaryUuid: string)
src/components/FeedbackSurvey/usePostCompactSurvey.tsx:17
↓ 1 callers
Function
hasMetInitializationThreshold
( currentTokenCount: number, )
src/services/SessionMemory/sessionMemoryUtils.ts:173
↓ 1 callers
Function
hasMetUpdateThreshold
(currentTokenCount: number)
src/services/SessionMemory/sessionMemoryUtils.ts:184
↓ 1 callers
Function
hasMultipleCodepoints
(str: string)
src/ink/termio/parser.ts:54
↓ 1 callers
Function
hasNestedError
(value: unknown)
src/services/api/errorUtils.ts:151
↓ 1 callers
Function
hasOnlyWhitespaceTextContent
* Check if an assistant message has only whitespace-only text content blocks. * Returns true if all content blocks are text blocks with only whitespa
src/utils/messages.ts:4835
↓ 1 callers
Function
hasParentPath
( entry: object, )
src/utils/filePersistence/outputsScanner.ts:33
↓ 1 callers
Function
hasPath
(entry: object)
src/utils/filePersistence/outputsScanner.ts:39
↓ 1 callers
Method
hasPendingProgress
* Check if any tool has pending progress messages
src/services/tools/StreamingToolExecutor.ts:445
↓ 1 callers
Method
hasPendingResponse
()
src/services/oauth/auth-code-listener.ts:58
↓ 1 callers
Function
hasPendingUpdates
()
src/utils/plugins/installedPluginsManager.ts:595
↓ 1 callers
Function
hasPermissionCallback
(requestId: string)
src/hooks/useSwarmPermissionPoller.ts:104
↓ 1 callers
Function
hasPermissionsToUseToolInner
( tool: Tool, input: { [key: string]: unknown }, context: ToolUseContext, )
src/utils/permissions/permissions.ts:1158
↓ 1 callers
Function
hasProfileScope
()
src/bridge/bridgeEnabled.ts:101
↓ 1 callers
Function
hasRTLCharacters
* Quick check for RTL characters (Hebrew, Arabic, and related scripts). * Avoids running the full bidi algorithm on pure-LTR text.
src/ink/bidi.ts:131
↓ 1 callers
Function
hasRecentInteraction
(threshold: number)
src/hooks/useNotifyAfterTimeout.ts:15
↓ 1 callers
Function
hasRequiredSubscription
()
src/utils/computerUse/gates.ts:39
↓ 1 callers
Function
hasRootNode
(emitter: unknown)
src/native-ts/color-diff/index.ts:491
↓ 1 callers
Function
hasRules
(updates: PermissionUpdate[] | undefined)
src/utils/permissions/PermissionUpdate.ts:45
↓ 1 callers
Function
hasSandboxPermissionCallback
(requestId: string)
src/hooks/useSwarmPermissionPoller.ts:191
↓ 1 callers
Function
hasSession
* Checks if a tmux session exists
src/tools/shared/spawnMultiAgent.ts:159
↓ 1 callers
Method
hasSession
()
src/utils/terminalPanel.ts:74
↓ 1 callers
Method
hasSessionInSwarm
* Checks if a tmux session exists in the swarm socket.
src/utils/swarm/backends/TmuxBackend.ts:459
↓ 1 callers
Function
hasShownHintThisSession
()
src/utils/claudeCodeHints.ts:180
↓ 1 callers
Function
hasShownLspRecommendationThisSession
()
src/bootstrap/state.ts:1402
↓ 1 callers
Function
hasStdinRedirect
(command: string)
src/utils/bash/shellQuoting.ts:81
↓ 1 callers
Function
hasStringFormat
( schema: PrimitiveSchemaDefinition, )
src/utils/mcp/elicitationValidation.ts:245
↓ 1 callers
Function
hasSuccessfulToolCall
( messages: Message[], toolName: string, )
src/utils/messages.ts:4719
↓ 1 callers
Function
hasSummarySinceLastUserTurn
(messages: readonly Message[])
src/hooks/useAwaySummary.ts:16
↓ 1 callers
Function
hasSyncSecurityConcerns
(command: string)
src/tools/PowerShellTool/readOnlyValidation.ts:1112
↓ 1 callers
Method
hasTextSelection
Whether there is an active text selection.
src/ink/ink.tsx:1236
↓ 1 callers
Function
hasTmuxToolBeenUsed
()
src/utils/tmuxSocket.ts:195
↓ 1 callers
Function
hasToolUseWithIds
* Check if a message contains tool_use blocks with any of the given ids
src/services/compact/sessionMemoryCompact.ts:175
↓ 1 callers
Function
hasUltraplanKeyword
(text: string)
src/utils/ultraplan/keyword.ts:107
↓ 1 callers
Function
hasUltrathinkKeyword
(text: string)
src/utils/thinking.ts:29
↓ 1 callers
Function
hasUnescapedChar
* Checks if content contains an unescaped occurrence of a single character. * Handles bash escape sequences correctly where a backslash escapes the f
src/tools/BashTool/bashSecurity.ts:209
↓ 1 callers
Function
hasUnescapedEmptyParens
* Checks if a string contains unescaped empty parentheses "()". * Returns true only if both the "(" and ")" are unescaped and adjacent.
src/utils/settings/permissionValidation.ts:43
↓ 1 callers
Method
hasUnfinishedTools
* Check if there are any unfinished tools
src/services/tools/StreamingToolExecutor.ts:509
↓ 1 callers
Function
hasUnknownModelCost
()
src/bootstrap/state.ts:749
↓ 1 callers
Function
hasUnresolvedHooksFromLookup
( toolUseID: string, hookEvent: HookEvent, lookups: MessageLookups, )
src/utils/messages.ts:1449
↓ 1 callers
Function
hasUsedBackslashReturn
()
src/commands/terminalSetup/terminalSetup.tsx:130
↓ 1 callers
Function
hasValidDates
(log: LogOption)
src/commands/insights.ts:730
↓ 1 callers
Function
hasVisibleAssistantContent
* Checks if an assistant message has visible text content (not just tool_use blocks). * Tool uses are displayed as grouped/collapsed UI elements, not
src/utils/sessionStorage.ts:2430
↓ 1 callers
Function
hasVisibleSpaceEffect
(styles: AnsiCode[])
src/ink/screen.ts:271
↓ 1 callers
Function
hasVisibleUserContent
* Checks if a user message has visible content (text or image, not just tool_result). * Tool results are displayed as part of collapsed groups, not a
src/utils/sessionStorage.ts:2399
↓ 1 callers
Function
hasVoiceAuth
()
src/voice/voiceModeEnabled.ts:32
↓ 1 callers
Function
hasWildcards
(pattern: string)
src/utils/permissions/shellRuleMatching.ts:54
↓ 1 callers
Function
hasWorkingInProcessTeammates
(appState: AppState)
src/utils/teammate.ts:220
↓ 1 callers
Function
hasWorktreeChanges
( worktreePath: string, headCommit: string, )
src/utils/worktree.ts:1144
↓ 1 callers
Function
hashContent
(content: string)
src/utils/hash.ts:19
↓ 1 callers
Function
hashContent
(content: string)
src/services/teamMemorySync/index.ts:134
↓ 1 callers
Function
hashFileContent
* Creates a full SHA256 hash (64 chars) for file contents * Used for deduplication and change detection analytics
src/utils/fileOperationAnalytics.ts:22
↓ 1 callers
Function
hashFilePath
* Creates a truncated SHA256 hash (16 chars) for file paths * Used for privacy-preserving analytics on file operations
src/utils/fileOperationAnalytics.ts:9
↓ 1 callers
Function
hashPair
(a: string, b: string)
src/utils/hash.ts:34
↓ 1 callers
Function
hashPastedText
(content: string)
src/utils/pasteStore.ts:21
↓ 1 callers
Function
hashPluginId
(name: string, marketplace?: string)
src/utils/telemetry/pluginTelemetry.ts:48
↓ 1 callers
Function
hashString
(str: string)
src/services/api/dumpPrompts.ts:9
↓ 1 callers
Function
heuristicallyExtractBaseCommand
* Extract the primary command from a PowerShell command line. * Takes the LAST pipeline segment since that determines the exit code. * * Heuristic
src/tools/PowerShellTool/commandSemantics.ts:121
↓ 1 callers
Function
heuristicallyExtractBaseCommand
* Extract the primary command from a complex command line; * May get it super wrong - don't depend on this for security
src/tools/BashTool/commandSemantics.ts:112
↓ 1 callers
Function
highlight
(ord: number)
src/components/VirtualMessageList.tsx:481
↓ 1 callers
Function
hookSourceDescriptionDisplayString
(source: HookSource)
src/utils/hooks/hooksSettings.ts:170
↓ 1 callers
Method
hrTimeToISOString
(hrTime: HrTime)
src/utils/telemetry/bigqueryExporter.ts:240
↓ 1 callers
Function
hydrateFromCCRv2InternalEvents
( sessionId: string, )
src/utils/sessionStorage.ts:1632
↓ 1 callers
Function
hydrateRemoteSession
( sessionId: string, ingressUrl: string, )
src/utils/sessionStorage.ts:1587
↓ 1 callers
Function
identifySequence
* Identify the type of escape sequence from its raw form.
src/ink/termio/parser.ts:245
↓ 1 callers
Method
imageRefEndingAt
* If an [Image #N] chip ends at `offset`, return its bounds. Used by left() * to hop the cursor over the chip instead of stepping into it.
src/utils/Cursor.ts:325
↓ 1 callers
Function
importGithubToken
( token: RedactedGithubToken, )
src/commands/remote-setup/api.ts:51
↓ 1 callers
Function
incrementBudgetContinuationCount
()
src/bootstrap/state.ts:741
↓ 1 callers
Function
incrementIgnoredCount
()
src/utils/plugins/lspRecommendation.ts:334
↓ 1 callers
Method
incrementPendingWrites
()
src/utils/sessionStorage.ts:582
↓ 1 callers
Function
incrementProjectOnboardingSeenCount
()
src/projectOnboardingState.ts:78
↓ 1 callers
Function
inferContextFromAction
* Infer context from action prefix when not in DEFAULT_BINDINGS.
src/skills/bundled/keybindings.ts:61
↓ 1 callers
Method
ingest
(newEvents: SDKMessage[])
src/utils/ultraplan/ccrSession.ts:101
↓ 1 callers
Function
initAutoDream
()
src/services/autoDream/autoDream.ts:122
↓ 1 callers
Function
initBridgeCore
( params: BridgeCoreParams, )
src/bridge/replBridge.ts:260
↓ 1 callers
Function
initBuiltinPlugins
()
src/plugins/bundled/index.ts:20
↓ 1 callers
Function
initBundledSkills
()
src/skills/bundled/index.ts:24
↓ 1 callers
Function
initCharAscii
()
src/ink/screen.ts:325
← previous
next →
6,201–6,300 of 11,548, ranked by callers