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
↓ 4 callers
Function
fmtBucket
(count: number, p: number)
src/components/Stats.tsx:1171
↓ 4 callers
Function
formatCommandInputTags
( commandName: string, args: string, )
src/utils/messages.ts:576
↓ 4 callers
Function
formatCost
(cost: number, maxDecimalPlaces: number = 4)
src/cost-tracker.ts:177
↓ 4 callers
Function
formatCreditAmount
(reward: ReferrerRewardInfo)
src/services/api/referral.ts:139
↓ 4 callers
Function
formatDescriptionWithSource
(cmd: Command)
src/commands.ts:728
↓ 4 callers
Function
formatEntry
(c: ChannelEntry)
src/components/LogoV2/ChannelsNotice.tsx:199
↓ 4 callers
Function
formatError
(error: unknown)
src/utils/toolErrors.ts:5
↓ 4 callers
Function
formatFailureDetails
( failures: Array<{ name: string; reason?: string; error?: string }>, includeReasons: boolean, )
src/utils/plugins/marketplaceHelpers.ts:16
↓ 4 callers
Function
formatGrantAmount
(info: OverageCreditGrantInfo)
src/services/api/overageCreditGrant.ts:127
↓ 4 callers
Function
formatLocation
* Formats a Location with file path and line/character position
src/tools/LSPTool/formatters.ts:99
↓ 4 callers
Function
formatPathLink
(filePath: string)
src/utils/completionCache.ts:63
↓ 4 callers
Function
formatSource
* Format a rule source for display in warning messages.
src/utils/permissions/shadowedRuleDetection.ts:72
↓ 4 callers
Function
formatToken
( token: Token, theme: ThemeName, listDepth = 0, orderedListNumber: number | null = null, parent: To
src/utils/markdown.ts:49
↓ 4 callers
Function
formatZodError
( error: ZodError, filePath: string, )
src/utils/settings/validation.ts:97
↓ 4 callers
Function
generateMcpConfig
* Generate MCP server configuration from DXT manifest
src/utils/plugins/mcpbHandler.ts:413
↓ 4 callers
Function
generateSessionTitle
( description: string, signal: AbortSignal, )
src/utils/sessionTitle.ts:79
↓ 4 callers
Function
generateSpanId
* Generate a unique span ID
src/utils/telemetry/perfettoTracing.ts:179
↓ 4 callers
Function
generateSuggestions
( filePath: string, operationType: 'read' | 'write' | 'create', toolPermissionContext: ToolPermissionCon
src/utils/permissions/filesystem.ts:1414
↓ 4 callers
Function
getAWSRegion
()
src/utils/envUtils.ts:96
↓ 4 callers
Function
getAddDirEnabledPlugins
()
src/utils/plugins/addDirPluginSettings.ts:34
↓ 4 callers
Function
getAgentDirectoryPath
* Gets the directory path for an agent location
src/components/agents/agentFileUtils.ts:60
↓ 4 callers
Function
getAgentNameToPoll
* Get the agent name to poll for messages. * - In-process teammates return undefined (they use waitForNextPromptOrShutdown instead) * - Process-base
src/hooks/useInboxPoller.ts:81
↓ 4 callers
Function
getAgentOutputTaskId
* Check if a file path is an agent output file and extract the task ID. * Agent output files follow the pattern: {projectTempDir}/tasks/{taskId}.outp
src/tools/FileReadTool/UI.tsx:18
↓ 4 callers
Function
getAgentTranscript
(agentId: AgentId)
src/utils/sessionStorage.ts:4190
↓ 4 callers
Function
getAllMcpConfigs
()
src/services/mcp/config.ts:1258
↓ 4 callers
Function
getAllowRules
( context: ToolPermissionContext, )
src/utils/permissions/permissions.ts:122
↓ 4 callers
Function
getAntModelOverrideConfig
()
src/utils/model/antModels.ts:34
↓ 4 callers
Function
getAskRules
(context: ToolPermissionContext)
src/utils/permissions/permissions.ts:223
↓ 4 callers
Function
getAutoCompactThreshold
(model: string)
src/services/compact/autoCompact.ts:72
↓ 4 callers
Function
getAutoModeDumpDir
()
src/utils/permissions/yoloClassifier.ts:144
↓ 4 callers
Function
getAutoModeUnavailableNotification
( reason: AutoModeUnavailableReason, )
src/utils/permissions/permissionSetup.ts:1047
↓ 4 callers
Function
getAutoModeUnavailableReason
()
src/utils/permissions/permissionSetup.ts:1294
↓ 4 callers
Function
getAutoUpdaterDisabledReason
()
src/utils/config.ts:1755
↓ 4 callers
Function
getBackendByType
(type: PaneBackendType)
src/utils/swarm/backends/registry.ts:295
↓ 4 callers
Function
getBashPromptAllowDescriptions
(_context: unknown)
src/utils/permissions/bashClassifier.ts:36
↓ 4 callers
Function
getBridgeBaseUrl
()
src/bridge/bridgeConfig.ts:46
↓ 4 callers
Function
getBridgeBaseUrlOverride
()
src/bridge/bridgeConfig.ts:27
↓ 4 callers
Function
getBuiltinModelStrings
(provider: APIProvider)
src/utils/model/modelStrings.ts:25
↓ 4 callers
Function
getCachePath
* Get the path to the policy limits cache file
src/services/policyLimits/index.ts:119
↓ 4 callers
Function
getCachedBackend
()
src/utils/swarm/backends/registry.ts:308
↓ 4 callers
Function
getCachedMCConfig
()
src/services/compact/cachedMCConfig.ts:17
↓ 4 callers
Function
getCachedReferrerReward
()
src/services/api/referral.ts:150
↓ 4 callers
Function
getClaudeAIOAuthTokensAsync
()
src/utils/auth.ts:1456
↓ 4 callers
Function
getColorModuleUnavailableReason
()
src/components/StructuredDiff/colorDiff.ts:18
↓ 4 callers
Function
getCommandId
* Generates a deterministic unique ID for a command suggestion. * Commands with the same name from different sources get unique IDs. * * Only promp
src/utils/suggestions/commandSuggestions.ts:233
↓ 4 callers
Function
getCommandName
(file: MarkdownFile)
src/skills/loadSkillsDir.ts:554
↓ 4 callers
Function
getCommandPrefixStatic
( command: string, recursionDepth = 0, wrapperCount = 0, )
src/utils/bash/prefix.ts:28
↓ 4 callers
Function
getCommandTypeForLogging
(command: string)
src/tools/PowerShellTool/PowerShellTool.tsx:262
↓ 4 callers
Function
getCompanion
()
src/buddy/companion.ts:127
↓ 4 callers
Method
getComputedLeft
()
src/ink/layout/yoga.ts:108
↓ 4 callers
Method
getComputedPadding
(edge: LayoutEdge)
src/ink/layout/yoga.ts:128
↓ 4 callers
Function
getConnectionTimeoutMs
()
src/services/mcp/client.ts:456
↓ 4 callers
Function
getCurrentBranch
* Gets the current branch name
src/utils/teleport.tsx:287
↓ 4 callers
Function
getDataDir
()
src/commands/insights.ts:420
↓ 4 callers
Function
getDeclaredMarketplaces
()
src/utils/plugins/marketplaceManager.ts:161
↓ 4 callers
Function
getDefaultBashTimeoutMs
(env: EnvLike = process.env)
src/utils/timeouts.ts:12
↓ 4 callers
Function
getDefaultHaikuModel
()
src/utils/model/model.ts:134
↓ 4 callers
Function
getDefaultMaxRetries
()
src/services/api/withRetry.ts:789
↓ 4 callers
Function
getDisplayText
(tokens: Token[] | undefined)
src/utils/markdown.ts:209
↓ 4 callers
Function
getDoctorDiagnostic
()
src/utils/doctorDiagnostic.ts:514
↓ 4 callers
Function
getEnumLabel
(schema: EnumSchema, value: string)
src/utils/mcp/elicitationValidation.ts:130
↓ 4 callers
Function
getEnvironmentKind
()
src/utils/filePersistence/outputsScanner.ts:25
↓ 4 callers
Function
getErrorGuidance
(error: PluginError)
src/commands/plugin/PluginErrors.tsx:61
↓ 4 callers
Function
getExtraBodyParams
(betaHeaders?: string[])
src/services/api/claude.ts:272
↓ 4 callers
Function
getFacetsDir
()
src/commands/insights.ts:423
↓ 4 callers
Function
getFastModeUnavailableReason
()
src/utils/fastMode.ts:72
↓ 4 callers
Function
getFlagSettingsPath
()
src/bootstrap/state.ts:1132
↓ 4 callers
Function
getGithubRepo
()
src/utils/git.ts:504
↓ 4 callers
Function
getGlobExclusionsForPluginCache
( searchPath?: string, )
src/utils/plugins/orphanedPluginFilter.ts:38
↓ 4 callers
Method
getGraphemeBoundaries
()
src/utils/Cursor.ts:1150
↓ 4 callers
Function
getHkcuSettings
()
src/utils/settings/mdm/settings.ts:132
↓ 4 callers
Function
getIdpClientSecret
(idpIssuer: string)
src/services/mcp/xaaIdpLogin.ts:177
↓ 4 callers
Function
getIfCondition
(hook: { if?: string })
src/utils/hooks.ts:1733
↓ 4 callers
Function
getImageProcessor
()
src/tools/FileReadTool/imageProcessor.ts:37
↓ 4 callers
Function
getInMemoryErrors
()
src/utils/log.ts:201
↓ 4 callers
Function
getInstallationEnv
()
src/utils/ide.ts:913
↓ 4 callers
Function
getKnownMarketplacesFile
* Get the path to the known marketplaces configuration file * Using a function instead of a constant allows proper mocking in tests
src/utils/plugins/marketplaceManager.ts:102
↓ 4 callers
Function
getLargeMemoryFiles
(files: MemoryFileInfo[])
src/utils/claudemd.ts:1132
↓ 4 callers
Function
getLineStartOffset
* Calculate the offset of a line's start position.
src/vim/operators.ts:425
↓ 4 callers
Function
getLocalInstallDir
()
src/utils/localInstaller.ts:19
↓ 4 callers
Function
getLockfile
()
src/utils/lockfile.ts:18
↓ 4 callers
Function
getMatcherMetadata
( event: HookEvent, toolNames: string[], )
src/utils/hooks/hooksConfigManager.ts:395
↓ 4 callers
Function
getMaxMcpOutputTokens
()
src/utils/mcpValidation.ts:26
↓ 4 callers
Function
getMaxTimeoutMs
()
src/tools/PowerShellTool/prompt.ts:22
↓ 4 callers
Function
getMaxVersion
()
src/utils/autoUpdater.ts:108
↓ 4 callers
Function
getMcpClientConfig
( serverName: string, serverConfig: McpSSEServerConfig | McpHTTPServerConfig, )
src/services/mcp/auth.ts:2430
↓ 4 callers
Function
getMcpToolsCommandsAndResources
( onConnectionAttempt: (params: { client: MCPServerConnection tools: Tool[] commands: Command[]
src/services/mcp/client.ts:2228
↓ 4 callers
Function
getMdmSettings
()
src/utils/settings/mdm/settings.ts:124
↓ 4 callers
Function
getMergedOpus1MOption
(fastMode = false)
src/utils/model/modelOptions.ts:267
↓ 4 callers
Function
getModelOptions
(fastMode = false)
src/utils/model/modelOptions.ts:500
↓ 4 callers
Function
getMultiSelectLabel
( schema: MultiSelectEnumSchema, value: string, )
src/utils/mcp/elicitationValidation.ts:93
↓ 4 callers
Function
getMultiSelectValues
(schema: MultiSelectEnumSchema)
src/utils/mcp/elicitationValidation.ts:67
↓ 4 callers
Function
getOpus46CostTier
(fastMode: boolean)
src/utils/modelCost.ts:94
↓ 4 callers
Function
getOpusDefaultEffortConfig
()
src/utils/effort.ts:267
↓ 4 callers
Function
getOverlayPath
(id: string)
src/services/PromptSuggestion/speculation.ts:80
↓ 4 callers
Function
getParentSessionId
()
src/utils/teammate.ts:34
↓ 4 callers
Function
getPatchForEdits
({ filePath, fileContents, edits, }: { filePath: string fileContents: string edits: FileEdit[] })
src/tools/FileEditTool/utils.ts:262
↓ 4 callers
Function
getPermissionRulesForSource
( source: SettingSource, )
src/utils/permissions/permissionsLoader.ts:140
↓ 4 callers
Function
getQuerySourceForREPL
()
src/utils/promptCategory.ts:36
↓ 4 callers
Function
getScheduledTasksEnabled
()
src/bootstrap/state.ts:1276
← previous
next →
1,301–1,400 of 11,548, ranked by callers