Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,347 in github.com/colbymchenry/codegraph
⨍
Functions
13,347
◇
Types & classes
1,990
↳
Endpoints
1
↓ 2,404 callers
Method
join
(prefix: string, seg: string)
src/extraction/tree-sitter.ts:5290
↓ 2,292 callers
Method
map
The repository at module granularity, layered.
ui/src/lib/adapter.ts:224
↓ 1,899 callers
Method
push
(msg: string)
__tests__/fixtures/kernel-parity/torture.tsx:262
↓ 1,042 callers
Method
has
(key: K)
src/resolution/lru-cache.ts:50
↓ 936 callers
Function
describe
(item: string)
__tests__/fixtures/kernel-parity/torture.tsx:277
↓ 771 callers
Method
close
()
__tests__/fake-daemon.ts:53
↓ 693 callers
Method
init
(raw: String)
__tests__/fixtures/kernel-parity/torture.swift:31
↓ 671 callers
Method
set
(key: K, value: V)
src/resolution/lru-cache.ts:54
↓ 620 callers
Method
getNode
* Get a node by ID
src/index.ts:2441
↓ 610 callers
Method
exec
(sql: string)
src/db/sqlite-adapter.ts:50
↓ 566 callers
Method
getNodesInFile
Get all nodes in a file
src/resolution/types.ts:97
↓ 516 callers
Method
get
(...params: unknown[])
src/db/queries.ts:280
↓ 495 callers
Method
get
A method or a function; a pass reads no others.
src/resolution/parameter-flow.ts:79
↓ 368 callers
Method
add
(node: Node)
src/context/index.ts:1377
↓ 367 callers
Method
prepare
(sql: string)
src/db/sqlite-adapter.ts:49
↓ 356 callers
Method
getNodesByKind
Get all nodes of a kind
src/resolution/types.ts:118
↓ 343 callers
Method
getOutgoingEdges
* Get outgoing edges from a node
src/index.ts:3004
↓ 317 callers
Method
text
()
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:28
↓ 310 callers
Method
all
(...params: unknown[])
src/db/queries.ts:279
↓ 300 callers
Method
walk
(dir: string, linked: boolean)
src/sync/watcher.ts:510
↓ 294 callers
Method
getOutgoingEdgesFrom
* Outgoing edges for many source nodes at once — the batch form of * {@link getOutgoingEdges}. See {@link QueryBuilder.getOutgoingEdgesFrom}.
src/index.ts:2476
↓ 280 callers
Method
parse
(frame: string)
__tests__/ui-events-api.test.ts:129
↓ 273 callers
Method
indexAll
* Index all files in the project * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:656
↓ 236 callers
Method
getNodesByName
Get all nodes by name
src/resolution/types.ts:105
↓ 221 callers
Function
getNodeText
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:86
↓ 209 callers
Method
unwrap
__tests__/fixtures/kernel-parity/torture.cpp:69
↓ 198 callers
Function
getChildByField
(node: SyntaxNode, fieldName: string)
src/extraction/tree-sitter-helpers.ts:93
↓ 191 callers
Method
get
(key: string)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:13
↓ 188 callers
Method
initSync
* Initialize synchronously (without indexing)
src/index.ts:445
↓ 178 callers
Method
readFile
Read file content
src/resolution/types.ts:131
↓ 176 callers
Method
destroy
* Alias for close() for backwards compatibility. * @deprecated Use close() instead
src/index.ts:3436
↓ 166 callers
Method
from
(n: u32)
__tests__/fixtures/kernel-parity/torture.rs:172
↓ 156 callers
Method
delete
(key: string | string[])
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:15
↓ 141 callers
Function
initGrammars
()
src/extraction/grammars.ts:350
↓ 135 callers
Function
extractFromSource
( filePath: string, source: string, language?: Language, frameworkNames?: string[] )
src/extraction/tree-sitter.ts:10559
↓ 132 callers
Method
set
(&mut self, pair: u16, value: bool)
codegraph-kernel/src/buffers.rs:190
↓ 131 callers
Method
resolve
(location: string, original: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:31
↓ 131 callers
Method
sync
(options: IndexOptions = {})
src/index.ts:1147
↓ 126 callers
Function
edge_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:133
↓ 124 callers
Method
write
(frame: Uint8Array, timeoutMs: number)
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:24
↓ 119 callers
Method
getCallees
* Get callees of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default:
src/index.ts:3210
↓ 116 callers
Method
execute
()
__tests__/telemetry-services.test.ts:55
↓ 107 callers
Method
resolve
Resolve a reference using framework-specific patterns
src/resolution/types.ts:398
↓ 98 callers
Function
loadGrammarsForLanguages
(languages: Language[], wasmBytes?: Record<string, Uint8Array>)
src/extraction/grammars.ts:521
↓ 93 callers
Method
error
(message: string, context?: Record<string, unknown>)
src/errors.ts:187
↓ 93 callers
Method
put
( key: string, value: ReadableStream<Uint8Array>, options?: { httpMetadata?: { contentType?: strin
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:8
↓ 90 callers
Method
getAllFiles
Get all files
src/resolution/types.ts:165
↓ 90 callers
Method
getDb
* Get the underlying database instance
src/db/index.ts:618
↓ 87 callers
Method
getIncomingEdges
(targetId: string, kinds?: EdgeKind[])
src/graph/cobol-copybooks.ts:36
↓ 87 callers
Method
len
(&self)
codegraph-kernel/src/buffers.rs:176
↓ 85 callers
Method
collect
(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>)
codegraph-kernel/src/rustlang.rs:815
↓ 83 callers
Function
stripCommentsForRegex
(content: string, lang: CommentLang)
src/resolution/strip-comments.ts:202
↓ 82 callers
Method
getNodeById
* Look up a node by its id. Lets matchers derive the FROM-symbol's * enclosing-class scope (Swift implicit-self method scoping, `this.X` * membe
src/resolution/types.ts:210
↓ 79 callers
Function
resolve
()
__tests__/resolver-pool-pipeline.test.ts:173
↓ 74 callers
Function
preceding_docstring
getPrecedingDocstring — collect the comment run immediately preceding the node (climbing out of declaration wrappers first), cleaned and joined. Retur
codegraph-kernel/src/docstring.rs:135
↓ 73 callers
Method
exit
(code: number)
__tests__/parse-pool.test.ts:338
↓ 73 callers
Function
tryKernelExtract
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:339
↓ 70 callers
Method
getNodesByQualifiedName
Get all nodes by qualified name
src/resolution/types.ts:116
↓ 70 callers
Method
searchNodes
(query: string, options?: { limit?: number })
src/graph/symbol-lookup.ts:197
↓ 69 callers
Method
on
(event: string, handler: (chunk: unknown) => void)
__tests__/fixtures/tail-render-ts/src/lib/socket.ts:3
↓ 65 callers
Method
getFiles
* Get all tracked files
src/index.ts:3037
↓ 65 callers
Function
resetKernelForTests
()
src/extraction/kernel/loader.ts:180
↓ 63 callers
Method
open
(root: string, open: () => CodeGraph)
src/mcp/tools.ts:2110
↓ 61 callers
Method
add
* Adds the interval `(open, close)`. One that opens before the last one * added, or crosses one that holds it, is refused (false).
src/extraction/languages/cpp-brace-scopes.ts:38
↓ 60 callers
Method
next
(&mut self)
__tests__/fixtures/kernel-parity/torture.rs:152
↓ 55 callers
Function
resolveImportPath
( importPath: string, fromFile: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:434
↓ 54 callers
Function
spawn
(cwd: string, args: string[])
__tests__/status-index-health.test.ts:27
↓ 53 callers
Method
getCallers
* Get callers of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default:
src/index.ts:3199
↓ 51 callers
Function
matchBracket
(s: string, open: number)
src/resolution/frameworks/object-literal.ts:20
↓ 49 callers
Method
close
()
src/ui-server/api/index.ts:146
↓ 45 callers
Function
col16
Column (UTF-16 units) of `byte_pos` on line `row`, given `line_starts`. Read from the table: the bytes from the line's start, less those that count f
codegraph-kernel/src/textutil.rs:195
↓ 45 callers
Method
getImportMappings
Get cached import mappings for a file
src/resolution/types.ts:212
↓ 44 callers
Method
add
(x: string)
__tests__/fixtures/kernel-parity/torture.tsx:271
↓ 44 callers
Method
bind
(...params: unknown[])
__tests__/telemetry-services.test.ts:51
↓ 44 callers
Function
lineAt
(text: string, idx: number)
src/resolution/synth-utils.ts:55
↓ 43 callers
Method
getOutgoingEdges
* Get outgoing edges from a node. Preserve the source/kind index order * (calls before imports/references), then break ties deterministically.
src/db/queries.ts:2756
↓ 43 callers
Method
on
(event: 'message', cb: (m: unknown) => void)
src/mcp/query-pool.ts:46
↓ 42 callers
Method
getFileLines
* `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type * inference scans source lines for EVERY `receiver.method()` ref; split
src/resolution/types.ts:150
↓ 42 callers
Function
loadAllGrammars
()
src/extraction/grammars.ts:555
↓ 42 callers
Method
run
()
__tests__/fixtures/kernel-parity/Torture.java:147
↓ 40 callers
Method
resolveReferences
* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them u
src/index.ts:2328
↓ 39 callers
Function
memos
(context: ResolutionContext)
src/resolution/pascal-scope.ts:1828
↓ 39 callers
Function
namedChildrenOf
(node: SyntaxNode)
src/extraction/tree-sitter-helpers.ts:71
↓ 38 callers
Method
fileExists
Check if a file exists
src/resolution/types.ts:129
↓ 38 callers
Method
run
(...params: any[])
src/db/sqlite-adapter.ts:18
↓ 36 callers
Function
resolve
(caller: { filePath: string; language: Language })
src/ui-server/api/when.ts:154
↓ 35 callers
Method
createNode
* Create a Node object
src/extraction/tree-sitter.ts:2140
↓ 34 callers
Method
initialize
* Initialize a new database at the given path
src/db/index.ts:125
↓ 34 callers
Function
resolve
(p: string)
src/directory.ts:260
↓ 33 callers
Function
getCodeGraphDir
(projectRoot: string)
src/directory.ts:123
↓ 33 callers
Method
getNodesByIds
* Batch lookup: fetch many nodes by ID in a single SQL round-trip. * * Replaces the N+1 pattern in graph traversal where every edge would * t
src/db/queries.ts:1212
↓ 33 callers
Function
isTestPath
(filePath: string)
src/search/query-utils.ts:454
↓ 33 callers
Method
push_edge
(&mut self, r: &EdgeRow)
codegraph-kernel/src/buffers.rs:299
↓ 31 callers
Method
openSync
(projectRoot: string)
__tests__/mcp-projectpath-lifecycle.test.ts:28
↓ 31 callers
Method
push_node
(&mut self, r: &NodeRow)
codegraph-kernel/src/buffers.rs:275
↓ 30 callers
Function
join
(...parts: string[])
src/resolution/frameworks/ruby.ts:250
↓ 30 callers
Function
node_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:129
↓ 29 callers
Method
getProjectRoot
()
src/graph/file-drift.ts:17
↓ 29 callers
Function
nodesNamed
(context: ResolutionContext, filePath: string, name: string | undefined | null)
src/resolution/nodes-around.ts:66
↓ 29 callers
Method
openSync
* Open synchronously (without sync). * * `deferIndexRecovery` leaves the secondary indexes an interrupted bulk load * dropped for {@link reco
src/index.ts:572
next →
1–100 of 13,347, ranked by callers