MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,347 in github.com/colbymchenry/codegraph

↓ 2,404 callersMethodjoin
(prefix: string, seg: string)
src/extraction/tree-sitter.ts:5290
↓ 2,292 callersMethodmap
The repository at module granularity, layered.
ui/src/lib/adapter.ts:224
↓ 1,899 callersMethodpush
(msg: string)
__tests__/fixtures/kernel-parity/torture.tsx:262
↓ 1,042 callersMethodhas
(key: K)
src/resolution/lru-cache.ts:50
↓ 936 callersFunctiondescribe
(item: string)
__tests__/fixtures/kernel-parity/torture.tsx:277
↓ 771 callersMethodclose
()
__tests__/fake-daemon.ts:53
↓ 693 callersMethodinit
(raw: String)
__tests__/fixtures/kernel-parity/torture.swift:31
↓ 671 callersMethodset
(key: K, value: V)
src/resolution/lru-cache.ts:54
↓ 620 callersMethodgetNode
* Get a node by ID
src/index.ts:2441
↓ 610 callersMethodexec
(sql: string)
src/db/sqlite-adapter.ts:50
↓ 566 callersMethodgetNodesInFile
Get all nodes in a file
src/resolution/types.ts:97
↓ 516 callersMethodget
(...params: unknown[])
src/db/queries.ts:280
↓ 495 callersMethodget
A method or a function; a pass reads no others.
src/resolution/parameter-flow.ts:79
↓ 368 callersMethodadd
(node: Node)
src/context/index.ts:1377
↓ 367 callersMethodprepare
(sql: string)
src/db/sqlite-adapter.ts:49
↓ 356 callersMethodgetNodesByKind
Get all nodes of a kind
src/resolution/types.ts:118
↓ 343 callersMethodgetOutgoingEdges
* Get outgoing edges from a node
src/index.ts:3004
↓ 317 callersMethodtext
()
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:28
↓ 310 callersMethodall
(...params: unknown[])
src/db/queries.ts:279
↓ 300 callersMethodwalk
(dir: string, linked: boolean)
src/sync/watcher.ts:510
↓ 294 callersMethodgetOutgoingEdgesFrom
* Outgoing edges for many source nodes at once — the batch form of * {@link getOutgoingEdges}. See {@link QueryBuilder.getOutgoingEdgesFrom}.
src/index.ts:2476
↓ 280 callersMethodparse
(frame: string)
__tests__/ui-events-api.test.ts:129
↓ 273 callersMethodindexAll
* Index all files in the project * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:656
↓ 236 callersMethodgetNodesByName
Get all nodes by name
src/resolution/types.ts:105
↓ 221 callersFunctiongetNodeText
(node: SyntaxNode, source: string)
src/extraction/tree-sitter-helpers.ts:86
↓ 209 callersMethodunwrap
__tests__/fixtures/kernel-parity/torture.cpp:69
↓ 198 callersFunctiongetChildByField
(node: SyntaxNode, fieldName: string)
src/extraction/tree-sitter-helpers.ts:93
↓ 191 callersMethodget
(key: string)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:13
↓ 188 callersMethodinitSync
* Initialize synchronously (without indexing)
src/index.ts:445
↓ 178 callersMethodreadFile
Read file content
src/resolution/types.ts:131
↓ 176 callersMethoddestroy
* Alias for close() for backwards compatibility. * @deprecated Use close() instead
src/index.ts:3436
↓ 166 callersMethodfrom
(n: u32)
__tests__/fixtures/kernel-parity/torture.rs:172
↓ 156 callersMethoddelete
(key: string | string[])
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:15
↓ 141 callersFunctioninitGrammars
()
src/extraction/grammars.ts:350
↓ 135 callersFunctionextractFromSource
( filePath: string, source: string, language?: Language, frameworkNames?: string[] )
src/extraction/tree-sitter.ts:10559
↓ 132 callersMethodset
(&mut self, pair: u16, value: bool)
codegraph-kernel/src/buffers.rs:190
↓ 131 callersMethodresolve
(location: string, original: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:31
↓ 131 callersMethodsync
(options: IndexOptions = {})
src/index.ts:1147
↓ 126 callersFunctionedge_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:133
↓ 124 callersMethodwrite
(frame: Uint8Array, timeoutMs: number)
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:24
↓ 119 callersMethodgetCallees
* 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 callersMethodexecute
()
__tests__/telemetry-services.test.ts:55
↓ 107 callersMethodresolve
Resolve a reference using framework-specific patterns
src/resolution/types.ts:398
↓ 98 callersFunctionloadGrammarsForLanguages
(languages: Language[], wasmBytes?: Record<string, Uint8Array>)
src/extraction/grammars.ts:521
↓ 93 callersMethoderror
(message: string, context?: Record<string, unknown>)
src/errors.ts:187
↓ 93 callersMethodput
( key: string, value: ReadableStream<Uint8Array>, options?: { httpMetadata?: { contentType?: strin
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:8
↓ 90 callersMethodgetAllFiles
Get all files
src/resolution/types.ts:165
↓ 90 callersMethodgetDb
* Get the underlying database instance
src/db/index.ts:618
↓ 87 callersMethodgetIncomingEdges
(targetId: string, kinds?: EdgeKind[])
src/graph/cobol-copybooks.ts:36
↓ 87 callersMethodlen
(&self)
codegraph-kernel/src/buffers.rs:176
↓ 85 callersMethodcollect
(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>)
codegraph-kernel/src/rustlang.rs:815
↓ 83 callersFunctionstripCommentsForRegex
(content: string, lang: CommentLang)
src/resolution/strip-comments.ts:202
↓ 82 callersMethodgetNodeById
* 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 callersFunctionresolve
()
__tests__/resolver-pool-pipeline.test.ts:173
↓ 74 callersFunctionpreceding_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 callersMethodexit
(code: number)
__tests__/parse-pool.test.ts:338
↓ 73 callersFunctiontryKernelExtract
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:339
↓ 70 callersMethodgetNodesByQualifiedName
Get all nodes by qualified name
src/resolution/types.ts:116
↓ 70 callersMethodsearchNodes
(query: string, options?: { limit?: number })
src/graph/symbol-lookup.ts:197
↓ 69 callersMethodon
(event: string, handler: (chunk: unknown) => void)
__tests__/fixtures/tail-render-ts/src/lib/socket.ts:3
↓ 65 callersMethodgetFiles
* Get all tracked files
src/index.ts:3037
↓ 65 callersFunctionresetKernelForTests
()
src/extraction/kernel/loader.ts:180
↓ 63 callersMethodopen
(root: string, open: () => CodeGraph)
src/mcp/tools.ts:2110
↓ 61 callersMethodadd
* 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 callersMethodnext
(&mut self)
__tests__/fixtures/kernel-parity/torture.rs:152
↓ 55 callersFunctionresolveImportPath
( importPath: string, fromFile: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:434
↓ 54 callersFunctionspawn
(cwd: string, args: string[])
__tests__/status-index-health.test.ts:27
↓ 53 callersMethodgetCallers
* 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 callersFunctionmatchBracket
(s: string, open: number)
src/resolution/frameworks/object-literal.ts:20
↓ 49 callersMethodclose
()
src/ui-server/api/index.ts:146
↓ 45 callersFunctioncol16
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 callersMethodgetImportMappings
Get cached import mappings for a file
src/resolution/types.ts:212
↓ 44 callersMethodadd
(x: string)
__tests__/fixtures/kernel-parity/torture.tsx:271
↓ 44 callersMethodbind
(...params: unknown[])
__tests__/telemetry-services.test.ts:51
↓ 44 callersFunctionlineAt
(text: string, idx: number)
src/resolution/synth-utils.ts:55
↓ 43 callersMethodgetOutgoingEdges
* 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 callersMethodon
(event: 'message', cb: (m: unknown) => void)
src/mcp/query-pool.ts:46
↓ 42 callersMethodgetFileLines
* `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 callersFunctionloadAllGrammars
()
src/extraction/grammars.ts:555
↓ 42 callersMethodrun
()
__tests__/fixtures/kernel-parity/Torture.java:147
↓ 40 callersMethodresolveReferences
* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them u
src/index.ts:2328
↓ 39 callersFunctionmemos
(context: ResolutionContext)
src/resolution/pascal-scope.ts:1828
↓ 39 callersFunctionnamedChildrenOf
(node: SyntaxNode)
src/extraction/tree-sitter-helpers.ts:71
↓ 38 callersMethodfileExists
Check if a file exists
src/resolution/types.ts:129
↓ 38 callersMethodrun
(...params: any[])
src/db/sqlite-adapter.ts:18
↓ 36 callersFunctionresolve
(caller: { filePath: string; language: Language })
src/ui-server/api/when.ts:154
↓ 35 callersMethodcreateNode
* Create a Node object
src/extraction/tree-sitter.ts:2140
↓ 34 callersMethodinitialize
* Initialize a new database at the given path
src/db/index.ts:125
↓ 34 callersFunctionresolve
(p: string)
src/directory.ts:260
↓ 33 callersFunctiongetCodeGraphDir
(projectRoot: string)
src/directory.ts:123
↓ 33 callersMethodgetNodesByIds
* 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 callersFunctionisTestPath
(filePath: string)
src/search/query-utils.ts:454
↓ 33 callersMethodpush_edge
(&mut self, r: &EdgeRow)
codegraph-kernel/src/buffers.rs:299
↓ 31 callersMethodopenSync
(projectRoot: string)
__tests__/mcp-projectpath-lifecycle.test.ts:28
↓ 31 callersMethodpush_node
(&mut self, r: &NodeRow)
codegraph-kernel/src/buffers.rs:275
↓ 30 callersFunctionjoin
(...parts: string[])
src/resolution/frameworks/ruby.ts:250
↓ 30 callersFunctionnode_kind_index
(kind: &str)
codegraph-kernel/src/buffers.rs:129
↓ 29 callersMethodgetProjectRoot
()
src/graph/file-drift.ts:17
↓ 29 callersFunctionnodesNamed
(context: ResolutionContext, filePath: string, name: string | undefined | null)
src/resolution/nodes-around.ts:66
↓ 29 callersMethodopenSync
* 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