Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
12,468 in github.com/colbymchenry/codegraph
⨍
Functions
12,468
◇
Types & classes
1,929
↳
Endpoints
1
↓ 4 callers
Method
findNodesByNameSubstring
* Find nodes whose name contains a substring (LIKE-based). * Useful for CamelCase-part matching where FTS fails because * e.g. "TransportSearchA
src/db/queries.ts:2510
↓ 4 callers
Function
firstBracketFrom
The index of the first bracket at or after offset `from`.
src/resolution/dart-local-scope.ts:509
↓ 4 callers
Function
fmt
(r)
scripts/agent-eval/probe-sweep.mjs:97
↓ 4 callers
Function
from
(path: string)
__tests__/expo-router.test.ts:738
↓ 4 callers
Method
generatedPredicateFor
* A reusable `(path) => boolean` over a bounded candidate list, unioning the * indexed flag with the path convention. This is the shape every ranki
src/db/queries.ts:4097
↓ 4 callers
Function
getAllFrameworkResolvers
()
src/resolution/frameworks/index.ts:110
↓ 4 callers
Method
getCallEdges
* The calls edges into a node, out of one, or into any node of a name, from * `callers`, with what they reached and how sure that was. Synthesized
src/db/parameter-flow-queries.ts:179
↓ 4 callers
Method
getCrossFileIncomingEdgesWithTarget
* Cross-file edges whose TARGET is a node in `filePath` and whose SOURCE is a * node in a *different* file, paired with the target node's (name, ki
src/db/queries.ts:3691
↓ 4 callers
Method
getDominantFile
* Find the file that holds the densest concentration of the project's * internal call graph — the "core" file. Used by context-builder to * boos
src/db/queries.ts:1407
↓ 4 callers
Method
getFailedReferencesThrough
* The row ids of the failed references of `filePath` that import one of * `modules` or are written through one of `names` (see {@link THROUGH_NAMES
src/db/queries.ts:3833
↓ 4 callers
Method
getFileDependents
* Get dependents of a file * * Returns all files that import from this file. * * @param filePath - Path to the file * @returns Array of
src/graph/queries.ts:135
↓ 4 callers
Method
getFilePathFromNodeId
* Get file path from node ID
src/resolution/index.ts:3858
↓ 4 callers
Method
getGoPackageDir
* The project-relative directory (`/`-separated, `.` for the root) of * the Go package an import path names, when it is a package of one of the
src/resolution/types.ts:267
↓ 4 callers
Method
getImpactRadius
* Calculate the impact radius of a node * * Returns all nodes that could be affected by changes to this node. * * @param nodeId - ID of th
src/graph/traversal.ts:607
↓ 4 callers
Method
getImportsInto
* The `imports` edges into the node `targetId` from files other than * `exceptFile`: each importing file, its language, and the module specifier
src/db/queries.ts:3867
↓ 4 callers
Method
getNodeAndEdgeCount
* Lightweight (nodes, edges) count snapshot. Used around an index/sync * run to compute true additions across extraction + resolution + * synthe
src/db/queries.ts:5788
↓ 4 callers
Method
getNodesByFile
* Get all nodes in a file
src/db/queries.ts:1331
↓ 4 callers
Method
getNodesByName
(name: string)
src/graph/symbol-lookup.ts:196
↓ 4 callers
Method
getReExports
* Re-exports declared by a file (`export { x } from './other'`, * `export * from './other'`). Empty array when the file has none. * Optional so
src/resolution/types.ts:281
↓ 4 callers
Method
getTools
* Get tool definitions with dynamic descriptions based on project size. * The codegraph_explore tool description includes a budget recommendation
src/mcp/tools.ts:2335
↓ 4 callers
Method
getUnresolvedReferencesByFiles
* Get unresolved references scoped to specific file paths. * Uses the idx_unresolved_file_path index for efficient lookup.
src/db/queries.ts:4722
↓ 4 callers
Method
getUnresolvedReferencesFrom
* References recorded against a symbol that never resolved to a node — the * calls and type mentions that leave the index (a third-party package, a
src/db/queries.ts:3558
↓ 4 callers
Function
gitCommonDir
(dir: string)
src/sync/worktree.ts:58
↓ 4 callers
Function
gitWorktreeRoot
(dir: string)
src/sync/worktree.ts:32
↓ 4 callers
Function
goSignatureArity
(signature: string | undefined)
src/resolution/callback-synthesizer.ts:982
↓ 4 callers
Method
growthBytes
Un-backfilled growth estimate: bytes the WAL has grown past the last full backfill.
src/db/wal-valve.ts:154
↓ 4 callers
Function
guardsInSource
( source: string, language: Language, line: number, column: number | null = null )
src/graph/branch-guards.ts:936
↓ 4 callers
Function
hasCjk
(text: string)
src/search/query-utils.ts:156
↓ 4 callers
Method
hasPendingIndexRecovery
Whether {@link recoverIndexes} still has indexes to rebuild.
src/index.ts:605
↓ 4 callers
Function
hasSynthesisPattern
(filePath: string, content: string)
src/resolution/callback-synthesizer.ts:5310
↓ 4 callers
Function
highlightLines
( lines: readonly string[], options: HighlightOptions = {} )
src/ui-server/highlight/index.ts:180
↓ 4 callers
Function
importDir
(qualifier: string, file: string)
src/resolution/go-func-field-synthesizer.ts:297
↓ 4 callers
Function
importersOf
* The files with an import statement naming one of `files`, or one of the * modules re-exporting from them, other than `files` themselves (going away
src/resolution/module-importers.ts:562
↓ 4 callers
Function
includesByName
(context: ResolutionContext, memo: Memo)
src/resolution/cpp-includers.ts:86
↓ 4 callers
Function
indexed
(files: Record<string, string>)
__tests__/parameter-flow.test.ts:84
↓ 4 callers
Function
indexed
(files: Record<string, string>)
__tests__/cpp-template-instantiations.test.ts:48
↓ 4 callers
Function
indexedHashInput
(size: number, content: () => string)
src/file-limits.ts:30
↓ 4 callers
Method
initialize
* Initialize the resolver (detect frameworks, etc.). `frameworks` are the * names detection gave in the process's main thread, for a worker startin
src/resolution/index.ts:517
↓ 4 callers
Method
install
(loc: Location, opts: InstallOptions)
src/installer/targets/types.ts:104
↓ 4 callers
Function
isAlive
(pid: number)
__tests__/mcp-daemon.test.ts:152
↓ 4 callers
Function
isBareCall
* Whether a Pascal call named by a bare name is written bare: its expression * starts with the name (`Reset(F)`). The last call of a chain is named b
src/resolution/pascal-scope.ts:148
↓ 4 callers
Function
isBindingName
(id: string)
src/resolution/rust-scopes.ts:269
↓ 4 callers
Function
isBlank
(ch: string | undefined)
src/resolution/angular-template-synthesizer.ts:301
↓ 4 callers
Function
isBuiltin
(t: VbType)
src/resolution/vbnet-receivers.ts:110
↓ 4 callers
Function
isCFamily
(language: string)
src/resolution/cpp-includers.ts:56
↓ 4 callers
Function
isCodeGraphDataDir
(name: string)
src/directory.ts:85
↓ 4 callers
Function
isCppPointerType
(raw: string)
src/resolution/cpp-type-aliases.ts:143
↓ 4 callers
Function
isIdStart
(c: number)
src/resolution/jsx-code.ts:60
↓ 4 callers
Function
isModule
Whether a VB.NET owner (by qualified name) is a `Module`, whose members are reached without a qualifier.
src/resolution/vbnet-receivers.ts:496
↓ 4 callers
Method
isNameSegmentVocabEmpty
True when the vocab has no rows — an index built before the table existed. * `sync` uses this to heal such databases (see rebuildNameSegmentVocabF
src/db/queries.ts:1076
↓ 4 callers
Function
isProcessAlive
(pid: number)
src/mcp/daemon.ts:843
↓ 4 callers
Function
isQualifiedSymbol
(symbol: string)
src/graph/symbol-lookup.ts:34
↓ 4 callers
Method
isWatching
* Check if the file watcher is active.
src/index.ts:2100
↓ 4 callers
Function
isWordStart
(c: number)
src/extraction/languages/cpp-macro-methods.ts:58
↓ 4 callers
Function
is_alpha
codegraph-kernel/grammars/scala/scanner.c:225
↓ 4 callers
Method
is_exported
goExtractor.isExported: uppercase first letter of the name field (a var_spec / const_spec's first name included).
codegraph-kernel/src/go.rs:346
↓ 4 callers
Method
is_exported_of
isExported (luau.ts:23) — the raw 7-unit slice is an ASCII prefix test.
codegraph-kernel/src/lua.rs:413
↓ 4 callers
Method
is_static
(&self, node: Node)
codegraph-kernel/src/csharp.rs:448
↓ 4 callers
Function
joinPartsWithNamedGaps
( filePath: string, parts: ReadonlyArray<{ range: ExploreLineRange; text: string }>, nodes: ReadonlyArra
src/mcp/tools.ts:1150
↓ 4 callers
Function
joinRoutePath
* Join route path segments the way Laravel does: `('api', 'v1/', '/users')` → * `/api/v1/users`. Leading and trailing slashes don't matter; the root
src/resolution/frameworks/laravel.ts:430
↓ 4 callers
Function
joinText
(text: TextLines)
src/installer/targets/shared.ts:279
↓ 4 callers
Function
joinTokens
(tokens: readonly WordToken[])
ui/src/lib/conditions.ts:98
↓ 4 callers
Function
kernelRoutes
(language: Language)
src/extraction/kernel/index.ts:181
↓ 4 callers
Function
lexicalPathWithinRoot
(projectRoot: string, filePath: string)
src/utils.ts:123
↓ 4 callers
Function
lineAt
1-based line of `offset`.
src/resolution/go-func-field-synthesizer.ts:141
↓ 4 callers
Function
lineOf
(src: string, needle: string)
__tests__/branch-guards-languages.test.ts:17
↓ 4 callers
Function
lineOfOffset
(text: string, at: number)
src/resolution/angular-template-synthesizer.ts:73
↓ 4 callers
Method
line_of
(&self, node: Node)
codegraph-kernel/src/ruby.rs:230
↓ 4 callers
Function
literalString
* A string literal's text when it is written out in full, or null when a * `#…#` expression builds it at runtime (`"#dir#/x.cfm"`, `"#dir#.Batch"`):
src/extraction/languages/cfscript.ts:26
↓ 4 callers
Method
load
(keys: typeof candidates)
src/resolution/index.ts:1505
↓ 4 callers
Method
load
(data: Data?)
__tests__/fixtures/kernel-parity/TortureTry.swift:18
↓ 4 callers
Function
loadExcludeMatcher
* Matcher for the project's `codegraph.json` `exclude` patterns — paths to keep * OUT of the index even when git-tracked, which `.gitignore` cannot d
src/extraction/index.ts:701
↓ 4 callers
Function
loadIncludeIgnoredMatcher
* Matcher for the project's `codegraph.json` `includeIgnored` patterns — the * explicit opt-in to index embedded git repos living inside gitignored
src/extraction/index.ts:687
↓ 4 callers
Function
loadIncludeIgnoredPatterns
(rootDir: string)
src/project-config.ts:354
↓ 4 callers
Function
loadIncludePatterns
(rootDir: string)
src/project-config.ts:390
↓ 4 callers
Function
loadProjectAliases
(projectRoot: string, read?: Set<string>)
src/resolution/path-aliases.ts:283
↓ 4 callers
Function
loaderValue
* What the function `text` resolves to when called, `param` handed to its * first parameter: its expression body's value, or what the first `return`
src/resolution/frameworks/react.ts:1637
↓ 4 callers
Function
lookupSymbolNodes
( cg: SymbolLookupHost, symbol: string, goPackageOf?: GoPackageOf )
src/graph/symbol-lookup.ts:250
↓ 4 callers
Method
mappings
Its import mappings.
src/resolution/module-importers.ts:79
↓ 4 callers
Function
matchBrace
Index of the `}` matching the `{` at `open` (which must point at a `{`). -1 if unbalanced.
src/resolution/c-fnptr-synthesizer.ts:130
↓ 4 callers
Function
matching
Where the `close` matching the `open` at `text[from]` is, or -1.
src/extraction/languages/cpp-macro-methods.ts:185
↓ 4 callers
Method
maybe_capture_fn_refs
(&mut self, node: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:607
↓ 4 callers
Method
memoizedRead
* `compute()`'s answer, reused until the database changes (see * getChangeStamp), or null inside a transaction, where a rollback could * leave a
src/db/queries.ts:649
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-embedding.test.ts:268
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-defined-types.test.ts:174
↓ 4 callers
Function
meta
(e: Edge)
__tests__/go-implements-stdlib.test.ts:344
↓ 4 callers
Method
misparsed_generic_call
dartMisparsedGenericCall (dart.ts) — a generic call tree-sitter-dart parsed as two comparisons, `(ref.read < Repo) > (p)`, found from its `<`: the nod
codegraph-kernel/src/dart.rs:1364
↓ 4 callers
Method
nearerThanBefore
(visited: Map<string, number>, nodeId: string, depth: number)
src/graph/traversal.ts:297
↓ 4 callers
Function
node
The one node with this qualified name (in `file`, when several share it).
__tests__/js-object-literal-members.test.ts:56
↓ 4 callers
Function
nodeRef
(over: Partial<WireSymbolPayload['node']> = {})
__tests__/ui-symbol-model.test.ts:34
↓ 4 callers
Function
norm
(name: string)
src/resolution/callback-synthesizer.ts:3352
↓ 4 callers
Function
normalizeNameToken
(raw: string)
src/search/query-utils.ts:12
↓ 4 callers
Function
normalizeToken
(token: string)
src/graph/named-symbol-flow.ts:730
↓ 4 callers
Method
normalize_java_type
normalizeJavaType (languages/java.ts).
codegraph-kernel/src/java.rs:472
↓ 4 callers
Function
npmInvocation
(platform: NodeJS.Platform, npmArgs: string[])
src/upgrade/index.ts:857
↓ 4 callers
Function
numberSourceLines
* Prefix each line of a source slice with its 1-based line number, matching * the Read tool's `cat -n` convention (number + tab) so the agent treats
src/mcp/tools.ts:949
↓ 4 callers
Method
objectKeyName
Property-key text with surrounding quotes stripped (`'foo'` → `foo`).
src/extraction/tree-sitter.ts:3608
↓ 4 callers
Method
on
(event: 'message', cb: (m: unknown) => void)
src/extraction/parse-pool.ts:42
↓ 4 callers
Function
open
* Whether this reading may open a function's body here: not if it is already * open on the way in (a helper that calls itself), not if it has been re
src/ui-server/api/program.ts:308
↓ 4 callers
Function
orderGraph
(program: NonNullable<WireStepsPayload['program']>, anchor: string)
ui/src/lib/program-model.ts:114
← previous
next →
801–900 of 12,468, ranked by callers