Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
8,675 in github.com/colbymchenry/codegraph
⨍
Functions
8,675
◇
Types & classes
1,640
↳
Endpoints
1
↓ 19 callers
Method
ignores
(rel: string)
src/extraction/index.ts:851
↓ 19 callers
Method
initialize
* Initialize a new database at the given path
src/db/index.ts:103
↓ 19 callers
Method
transaction
(fn: (...args: any[]) => T)
src/db/sqlite-adapter.ts:32
↓ 18 callers
Method
addUnresolvedReference
Add an unresolved reference
src/extraction/tree-sitter-types.ts:58
↓ 18 callers
Method
bytes
()
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:54
↓ 18 callers
Function
isInitialized
(projectRoot: string)
src/directory.ts:141
↓ 18 callers
Function
isTestFile
(filePath: string)
src/search/query-utils.ts:296
↓ 18 callers
Method
popScope
Pop the last node ID from the scope stack
src/extraction/tree-sitter-types.ts:62
↓ 17 callers
Function
advance
codegraph-kernel/grammars/scala/scanner.c:233
↓ 17 callers
Function
badRequest
(message: string, hint?: string)
src/ui-server/api/respond.ts:54
↓ 17 callers
Method
pushScope
Push a node ID onto the scope stack (for containment/qualified name building)
src/extraction/tree-sitter-types.ts:60
↓ 17 callers
Function
resetKernelForTests
()
src/extraction/kernel/loader.ts:176
↓ 17 callers
Function
writeJsonFile
(filePath: string, data: Record<string, any>)
src/installer/targets/shared.ts:126
↓ 16 callers
Function
build_meta
(t: &Tables, arena_len: u32, errors_json: StrRef, duration_ms: f64)
codegraph-kernel/src/buffers.rs:342
↓ 16 callers
Method
clear
* Clear all data from the database
src/db/queries.ts:4021
↓ 16 callers
Method
generate
( &mut self, file_path: &str, kind: &str, name: &str, line: u32,
codegraph-kernel/src/ids.rs:26
↓ 16 callers
Function
generateNodeId
( filePath: string, kind: NodeKind, name: string, line: number )
src/extraction/tree-sitter-helpers.ts:18
↓ 16 callers
Method
getStats
* Get statistics about the knowledge graph
src/index.ts:1481
↓ 16 callers
Function
grammar_for
(language: &str)
codegraph-kernel/src/langs.rs:44
↓ 16 callers
Function
line_starts
Byte offsets of each line start, for UTF-16 column conversion.
codegraph-kernel/src/textutil.rs:82
↓ 16 callers
Method
pragma
(str: string, options?: { simple?: boolean })
src/db/sqlite-adapter.ts:31
↓ 16 callers
Method
request
(method: string, params?: unknown, timeoutMs?: number)
src/mcp/transport.ts:79
↓ 16 callers
Method
search
(query: string, opts?: SearchRequest, signal?: AbortSignal)
ui/src/lib/adapter.ts:210
↓ 16 callers
Function
utf16_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:94
↓ 16 callers
Function
validatePathWithinRoot
( projectRoot: string, filePath: string, options?: { allowSymlinkEscape?: boolean } )
src/utils.ts:128
↓ 16 callers
Method
warn
(message: string, context?: Record<string, unknown>)
src/errors.ts:186
↓ 15 callers
Method
create_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:348
↓ 15 callers
Function
file_node_id
(file_path: &str)
codegraph-kernel/src/ids.rs:65
↓ 15 callers
Function
fn
(name: string)
__tests__/resolution.test.ts:1439
↓ 15 callers
Function
getGlyphs
()
src/ui/glyphs.ts:106
↓ 15 callers
Method
into_vec
(self)
codegraph-kernel/src/buffers.rs:180
↓ 15 callers
Function
logWarn
(message: string, context?: Record<string, unknown>)
src/errors.ts:245
↓ 15 callers
Method
postMessage
(msg: unknown)
src/mcp/query-pool.ts:41
↓ 15 callers
Function
readStringAt
(s: string, at: number)
src/resolution/frameworks/expo-router.ts:239
↓ 14 callers
Method
advance
* 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
↓ 14 callers
Function
atomicWriteFileSync
(filePath: string, content: string)
src/installer/targets/shared.ts:82
↓ 14 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/csharp.rs:316
↓ 14 callers
Function
detectLanguage
(filePath: string, source?: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:540
↓ 14 callers
Method
getCodeGraph
* Get CodeGraph instance for a project * * If projectPath is provided, opens that project's CodeGraph (cached). * Otherwise returns the defau
src/mcp/tools.ts:2209
↓ 14 callers
Method
getFile
* Get a file record by path
src/index.ts:2018
↓ 14 callers
Method
iterateNodesByKind
* 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:113
↓ 14 callers
Function
loadExtensionOverrides
(rootDir: string)
src/project-config.ts:342
↓ 14 callers
Function
normalizePath
(filePath: string)
src/utils.ts:230
↓ 14 callers
Method
push_ref
(&mut self, r: &RefRow)
codegraph-kernel/src/buffers.rs:314
↓ 14 callers
Function
rowToNode
* Convert database row to Node object
src/db/queries.ts:185
↓ 14 callers
Function
sameLanguageFamily
(a: string, b: string)
src/resolution/name-matcher.ts:160
↓ 14 callers
Function
siteKey
(site: CallSite)
src/graph/branch-guards.ts:239
↓ 13 callers
Function
createDatabase
(dbPath: string, opts?: { readOnly?: boolean })
src/db/sqlite-adapter.ts:199
↓ 13 callers
Function
destinationsForHref
(href: HrefLiteral, table: RouteTable)
src/resolution/frameworks/nextjs.ts:182
↓ 13 callers
Function
getDaemonPidPath
(projectRoot: string)
src/mcp/daemon-paths.ts:99
↓ 13 callers
Method
getOutgoingEdgesFrom
* 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:2209
↓ 13 callers
Function
skip_jsws
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:136
↓ 12 callers
Function
createYielder
(budgetMs: number = DEFAULT_YIELD_BUDGET_MS)
src/resolution/cooperative-yield.ts:42
↓ 12 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/java.rs:300
↓ 12 callers
Method
ensureInitialized
* 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:200
↓ 12 callers
Function
getDatabasePath
(projectRoot: string)
src/db/index.ts:875
↓ 12 callers
Method
getStats
* Get graph statistics
src/db/queries.ts:3939
↓ 12 callers
Function
isSourceFile
(filePath: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:245
↓ 12 callers
Function
lineOf
(index: number)
src/resolution/frameworks/nextjs.ts:246
↓ 12 callers
Method
position
A short description of where in the chain this link sits.
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:257
↓ 12 callers
Function
pythonMemberLines
(filePath: string, context: ResolutionContext)
src/resolution/name-matcher.ts:411
↓ 12 callers
Function
round
Numbers are rounded to a tenth: an SVG full of 17 decimals is unreadable.
ui/src/lib/export-svg.ts:164
↓ 12 callers
Method
start
(handler: MessageHandler)
src/mcp/transport.ts:75
↓ 12 callers
Method
textResult
(text: string)
src/mcp/tools.ts:8554
↓ 12 callers
Function
wireList
(items: T[], total: number)
src/ui-server/api/wire.ts:246
↓ 11 callers
Function
blankStringContents
(text: string)
src/resolution/strip-comments.ts:31
↓ 11 callers
Method
collect
(n: Node<'t>, depth: u32, out: &mut Vec<Node<'t>>)
codegraph-kernel/src/tsjs/extractors.rs:981
↓ 11 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/swift.rs:350
↓ 11 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/php.rs:316
↓ 11 callers
Function
dependsOn
(context: ResolutionContext, ...deps: string[])
src/resolution/frameworks/package-deps.ts:66
↓ 11 callers
Method
docstringFor
* 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:498
↓ 11 callers
Method
fill
(room: number)
src/mcp/tools.ts:5888
↓ 11 callers
Method
getCallers
* Find all callers of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (def
src/graph/traversal.ts:279
↓ 11 callers
Function
getJson
(path: string, signal?: AbortSignal)
ui/src/lib/adapter.ts:339
↓ 11 callers
Function
getMcpServerConfig
()
src/installer/targets/shared.ts:24
↓ 11 callers
Function
getParser
(language: Language)
src/extraction/grammars.ts:517
↓ 11 callers
Function
guardLabel
(guards: readonly BranchGuard[])
src/graph/branch-guards.ts:86
↓ 11 callers
Method
is_ts
TS-family (typescript/tsx): type annotations, interfaces, enums, aliases, visibility, isStatic. The JS family lacks all of those hooks.
codegraph-kernel/src/tsjs/mod.rs:46
↓ 11 callers
Function
is_word_at
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:106
↓ 11 callers
Function
makeLineAt
(src: string, baseLine: number)
src/resolution/synth-utils.ts:19
↓ 11 callers
Function
namedChildren
The named children of a node, in order.
src/graph/branch-guards.ts:1490
↓ 11 callers
Method
nodeById
`queries.getNodeById` through the resolver's own id → node cache.
src/resolution/index.ts:421
↓ 11 callers
Method
push_ref
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/tsjs/mod.rs:318
↓ 11 callers
Function
resolveProjectFile
(projectRoot: string, relativePath: string)
src/ui-server/security.ts:274
↓ 11 callers
Function
safeJsonParse
(value: string, fallback: T)
src/utils.ts:210
↓ 11 callers
Method
visitNode
Visit a child node (dispatches through the standard visitNode logic)
src/extraction/tree-sitter-types.ts:54
↓ 11 callers
Function
word_end
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:148
↓ 10 callers
Function
basename
(path: string)
ui/src/lib/symbol-model.ts:104
↓ 10 callers
Function
buildSteps
(cg: CodeGraph, projectRoot: string, query: URLSearchParams)
src/ui-server/api/steps.ts:431
↓ 10 callers
Function
classifyEffect
(input: EffectInput)
src/ui-server/api/effects.ts:296
↓ 10 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/kotlin.rs:383
↓ 10 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ccpp/mod.rs:495
↓ 10 callers
Method
generatedFilePredicate
(paths: string[])
src/graph/symbol-lookup.ts:121
↓ 10 callers
Function
getDaemonSocketPath
(projectRoot: string)
src/mcp/daemon-paths.ts:93
↓ 10 callers
Function
getTelemetry
()
src/telemetry/index.ts:625
↓ 10 callers
Method
getToolHandler
Shared ToolHandler — sessions delegate tool dispatch through this.
src/mcp/engine.ts:182
↓ 10 callers
Method
getWalSizeBytes
* Size of the `-wal` sidecar file in bytes. 0 when it doesn't exist (non-WAL * journal mode, in-memory DB, or no write since the last checkpoint+re
src/db/index.ts:559
↓ 10 callers
Function
jsonDeepEqual
(a: unknown, b: unknown)
src/installer/targets/shared.ts:138
↓ 10 callers
Function
lastNamed
(node: SyntaxNode)
src/graph/branch-guards.ts:1267
↓ 10 callers
Function
linkId
(link: { source: string; target: string })
ui/src/lib/map-model.ts:297
← previous
next →
101–200 of 8,675, ranked by callers