MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions12,468 in github.com/colbymchenry/codegraph

↓ 27 callersFunctionlogDebug
(message: string, context?: Record<string, unknown>)
src/errors.ts:252
↓ 27 callersMethodstop
()
src/mcp/transport.ts:77
↓ 26 callersMethodjoin
(prefix: &str, seg: &str)
codegraph-kernel/src/rustlang.rs:826
↓ 26 callersFunctionmemos
(context: ResolutionContext)
src/resolution/pascal-scope.ts:652
↓ 26 callersFunctionskipString
(s: string, at: number)
src/resolution/frameworks/object-literal.ts:40
↓ 25 callersMethoddestroy
* Terminate all workers and answer any outstanding calls gracefully. A worker * still starting up is terminated once it has started (see * WORKE
src/mcp/query-pool.ts:511
↓ 25 callersMethodgetIncomingEdgesTo
* Incoming edges for many target nodes at once — the mirror of * {@link getOutgoingEdgesFrom}. See {@link QueryBuilder.getIncomingEdgesTo}.
src/index.ts:2433
↓ 25 callersFunctionjoin
(...parts: string[])
src/resolution/frameworks/ruby.ts:248
↓ 25 callersFunctionreadJsonFile
(filePath: string)
src/installer/targets/shared.ts:89
↓ 25 callersMethodtransaction
(fn: (...args: any[]) => T, options?: TransactionOptions)
src/db/sqlite-adapter.ts:52
↓ 24 callersFunctionenclosingFn
(nodesInFile: readonly Node[], line: number)
src/resolution/synth-utils.ts:39
↓ 24 callersFunctionescapeRegExp
(text: string)
src/utils.ts:439
↓ 24 callersMethodgetMetadata
* Get a metadata value by key
src/db/queries.ts:5874
↓ 24 callersMethodid
(qualifiedName: string)
__tests__/resolution-order-independence.test.ts:41
↓ 24 callersFunctionisTestFile
(filePath: string)
src/search/query-utils.ts:439
↓ 23 callersMethodignores
(rel: string)
src/extraction/index.ts:1078
↓ 22 callersFunctiongetDaemonPidPath
(projectRoot: string)
src/mcp/daemon-paths.ts:100
↓ 21 callersFunctiongetGraphAdapter
()
ui/src/lib/adapter.ts:493
↓ 21 callersFunctionmakeLineAt
(src: string, baseLine: number)
src/resolution/synth-utils.ts:19
↓ 21 callersMethodsetMetadata
* Set a metadata key-value pair (upsert)
src/db/queries.ts:5882
↓ 21 callersFunctiontoNodeRef
(node: Node)
src/ui-server/api/wire.ts:123
↓ 20 callersFunctionatomicWriteFileSync
(filePath: string, content: string)
src/installer/targets/shared.ts:117
↓ 20 callersMethodclear
* Clear all data from the database
src/db/queries.ts:5903
↓ 20 callersMethodcloseAll
* Close all cached project connections
src/mcp/tools.ts:2718
↓ 20 callersMethodgetPendingReferenceCount
* References extracted but never attempted by a resolution pass. Zero on a * healthy index — a completed pass consumes every pending row (resolving
src/index.ts:2324
↓ 20 callersFunctiongrammar_for
(language: &str)
codegraph-kernel/src/langs.rs:50
↓ 20 callersMethodupdate
(items: [Item], data: Data, id: Int)
__tests__/fixtures/kernel-parity/TortureWrappedCalls.swift:18
↓ 19 callersMethodaddUnresolvedReference
Add an unresolved reference
src/extraction/tree-sitter-types.ts:49
↓ 19 callersMethodadvance
* The next link in the chain: the same chain with the cursor moved on and the * timeouts carried over. Cloning here is what keeps each interceptor
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:75
↓ 19 callersMethodbytes
()
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:54
↓ 19 callersMethodpopScope
Pop the last node ID from the scope stack
src/extraction/tree-sitter-types.ts:53
↓ 19 callersMethodstart
(handler: MessageHandler)
src/mcp/transport.ts:76
↓ 19 callersFunctionvalidatePathWithinRoot
( projectRoot: string, filePath: string, options?: { allowSymlinkEscape?: boolean; readOnly?: boolean }
src/utils.ts:189
↓ 19 callersMethodwarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:186
↓ 18 callersFunctioncreateDatabase
(dbPath: string, opts?: { readOnly?: boolean })
src/db/sqlite-adapter.ts:223
↓ 18 callersMethodexecute
* Execute a tool by name. * * `sessionState` is the CALLER's per-session explore history (CG-17). The * daemon shares one ToolHandler across
src/mcp/tools.ts:3053
↓ 18 callersFunctiongenerateNodeId
( filePath: string, kind: NodeKind, name: string, line: number )
src/extraction/tree-sitter-helpers.ts:18
↓ 18 callersMethodgetOutgoingEdgesFrom
* Outgoing edges for MANY source nodes in one query. * * The batch form of {@link getOutgoingEdges}. Building a nested outline needs * the `c
src/db/queries.ts:2808
↓ 18 callersFunctiongetParser
(language: Language)
src/extraction/grammars.ts:574
↓ 18 callersMethodgetStats
* Get statistics about the knowledge graph
src/index.ts:2349
↓ 18 callersMethodinsertNode
* Insert a new node
src/db/queries.ts:716
↓ 18 callersFunctionisInitialized
(projectRoot: string)
src/directory.ts:144
↓ 18 callersFunctionnormalizePath
(filePath: string)
src/utils.ts:426
↓ 18 callersMethodpostMessage
(msg: unknown)
src/mcp/query-pool.ts:44
↓ 18 callersMethodpragma
(str: string, options?: { simple?: boolean })
src/db/sqlite-adapter.ts:51
↓ 18 callersMethodpushScope
Push a node ID onto the scope stack (for containment/qualified name building)
src/extraction/tree-sitter-types.ts:51
↓ 17 callersFunctionadvance
codegraph-kernel/grammars/scala/scanner.c:233
↓ 17 callersFunctionbadRequest
(message: string, hint?: string)
src/ui-server/api/respond.ts:54
↓ 17 callersMethodcreate_node
createNode (tree-sitter.ts): id, qualified name from the scope stack, contains edge from the parent scope, value-ref bookkeeping.
codegraph-kernel/src/tsjs/mod.rs:382
↓ 17 callersFunctionfn
(name: string)
__tests__/resolution.test.ts:1439
↓ 17 callersMethodgetFile
* Get a file record by path
src/index.ts:2944
↓ 17 callersFunctiongetGlyphs
()
src/ui/glyphs.ts:106
↓ 17 callersFunctionlogWarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:259
↓ 17 callersFunctionreadStringAt
(s: string, at: number)
src/resolution/frameworks/expo-router.ts:239
↓ 17 callersFunctionwriteJsonFile
(filePath: string, data: Record<string, any>)
src/installer/targets/shared.ts:234
↓ 16 callersFunctionbuild_meta
(t: &Tables, arena_len: u32, errors_json: StrRef, duration_ms: f64)
codegraph-kernel/src/buffers.rs:342
↓ 16 callersFunctiondetectLanguage
(filePath: string, source?: string, overrides?: Record<string, Language>, rootDir?: string)
src/extraction/grammars.ts:600
↓ 16 callersMethodgenerate
( &mut self, file_path: &str, kind: &str, name: &str, line: u32,
codegraph-kernel/src/ids.rs:26
↓ 16 callersMethodgetImpactRadius
* 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/index.ts:3152
↓ 16 callersFunctiongetMcpServerConfig
()
src/installer/targets/shared.ts:25
↓ 16 callersMethoditerateNodesByKind
* Stream nodes of a kind one at a time instead of materializing (and, unlike * `getNodesByKind`, without populating the resolver's per-kind array c
src/resolution/types.ts:127
↓ 16 callersFunctionline_starts
Byte offsets of each line start, for UTF-16 column conversion.
codegraph-kernel/src/textutil.rs:134
↓ 16 callersMethodrequest
(method: string, params?: unknown, timeoutMs?: number)
src/mcp/transport.ts:80
↓ 16 callersMethodsearch
(query: string, opts?: SearchRequest, signal?: AbortSignal)
ui/src/lib/adapter.ts:210
↓ 16 callersFunctionutf16_len
UTF-16 code units in `s` — what web-tree-sitter (and JS string ops) count, so kernel-emitted columns are byte-identical to the wasm path's.
codegraph-kernel/src/textutil.rs:146
↓ 15 callersMethodcall
()
__tests__/fixtures/kernel-parity/Torture.java:140
↓ 15 callersMethodcollect
(n: Node<'t>, depth: u32, out: &mut Vec<Node<'t>>)
codegraph-kernel/src/tsjs/extractors.rs:1453
↓ 15 callersMethodensureInitialized
* Walk up from `searchFrom` to find the nearest `.codegraph/` and open it. * Idempotent: concurrent callers share one in-flight init; subsequent
src/mcp/engine.ts:214
↓ 15 callersFunctionfile_node_id
(file_path: &str)
codegraph-kernel/src/ids.rs:65
↓ 15 callersMethodgetCodeGraph
* Get CodeGraph instance for a project * * If projectPath is provided, opens that project's CodeGraph (cached). * Otherwise returns the defau
src/mcp/tools.ts:2415
↓ 15 callersFunctiongetCurrentVersion
(db: SqliteDatabase)
src/db/migrations.ts:323
↓ 15 callersFunctiongetKernel
()
src/extraction/kernel/loader.ts:144
↓ 15 callersMethodinto_vec
(self)
codegraph-kernel/src/buffers.rs:180
↓ 15 callersFunctionlineOf
(src: string, idx: number)
src/resolution/callback-synthesizer.ts:158
↓ 15 callersMethodlisten
(socketPath: string)
src/mcp/daemon.ts:292
↓ 15 callersMethodnormalize
(p: string)
src/mcp/tools.ts:8261
↓ 15 callersMethodrecreate
* Rebuild the project's database from scratch and return a fresh, empty * instance — the "same result as a fresh init" semantics that `codegraph
src/index.ts:531
↓ 15 callersFunctionrowToEdge
(row: EdgeRow)
src/db/queries.ts:372
↓ 15 callersFunctionsafeJsonParse
(value: string, fallback: T)
src/utils.ts:406
↓ 14 callersFunctioncreateYielder
(budgetMs: number = DEFAULT_YIELD_BUDGET_MS)
src/resolution/cooperative-yield.ts:42
↓ 14 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/csharp.rs:316
↓ 14 callersMethodgetUnresolvedReferencesFrom
* References from a symbol that never resolved to an indexed node — the * calls and type mentions that leave the index. Lets a reader account for
src/index.ts:2604
↓ 14 callersFunctiongetWriterPidPath
(projectRoot: string, lockName: 'writer.pid' | 'rebuild.pid' = 'writer.pid')
src/mcp/writer-lock.ts:33
↓ 14 callersMethodinsertUnresolvedRefsBatch
* Insert multiple unresolved references in a transaction
src/db/queries.ts:4383
↓ 14 callersFunctionisProcessAlive
(pid: number)
src/mcp/daemon-registry.ts:82
↓ 14 callersFunctionloadExtensionOverrides
(rootDir: string)
src/project-config.ts:342
↓ 14 callersMethodnodeById
`queries.getNodeById` through the resolver's own id → node cache.
src/resolution/index.ts:716
↓ 14 callersMethodpush_ref
(&mut self, r: &RefRow)
codegraph-kernel/src/buffers.rs:314
↓ 14 callersFunctionscanDirectory
( rootDir: string, onProgress?: (current: number, file: string) => void )
src/extraction/index.ts:1858
↓ 14 callersFunctionsiteKey
(site: CallSite)
src/graph/branch-guards.ts:240
↓ 13 callersFunctioncheck
()
__tests__/watcher.test.ts:52
↓ 13 callersMethodclear
* Clear all data from the graph
src/index.ts:3342
↓ 13 callersMethodclearCaches
* Clear internal caches
src/resolution/index.ts:727
↓ 13 callersFunctioncommentOrStringEnd
* The index after the comment or string that starts at `i`, or -1 when none * does. Pascal comments are `{…}` (compiler directives included), `(*…*)`
src/extraction/languages/pascal-preparse.ts:141
↓ 13 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/java.rs:304
↓ 13 callersFunctiondestinationsForHref
(href: HrefLiteral, table: RouteTable)
src/resolution/frameworks/nextjs.ts:188
↓ 13 callersMethoddocstringFor
* The node's prose, from either place it can live: a preceding comment * sibling (every language) or a docstring inside the body (Python's bare
src/extraction/tree-sitter.ts:825
↓ 13 callersMethodfill
(room: number)
src/mcp/tools.ts:6282
↓ 13 callersMethodgetChangedFiles
* Get files that have changed since last index
src/index.ts:2158
↓ 13 callersMethodgetToolHandler
Shared ToolHandler — sessions delegate tool dispatch through this.
src/mcp/engine.ts:196
← previousnext →101–200 of 12,468, ranked by callers