Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
3,841 in github.com/colbymchenry/codegraph
⨍
Functions
3,841
◇
Types & classes
553
↳
Endpoints
1
↓ 6 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/scala.rs:295
↓ 6 callers
Method
drain
()
src/mcp/query-pool.ts:262
↓ 6 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:133
↓ 6 callers
Method
extractDecoratorsFor
* Scan `declNode` and its preceding siblings (within the parent's * named children) for decorator nodes, emitting a `decorates` * reference from
src/extraction/tree-sitter.ts:4897
↓ 6 callers
Method
extractTypeAnnotations
* Extract type references from type annotations on a function/method/field node. * Creates 'references' edges for parameter types, return types, an
src/extraction/tree-sitter.ts:5788
↓ 6 callers
Method
extract_name
(&self, node: Node)
codegraph-kernel/src/java.rs:471
↓ 6 callers
Method
extract_name
extractName — nameField `name`, else the identifier-like child scan.
codegraph-kernel/src/rustlang.rs:343
↓ 6 callers
Method
extract_name
(&self, node: Node)
codegraph-kernel/src/php.rs:407
↓ 6 callers
Function
facts
(src: &str)
codegraph-kernel/src/cfnptr.rs:1251
↓ 6 callers
Function
findNearestCodeGraphRoot
(startPath: string)
src/directory.ts:158
↓ 6 callers
Method
flushNow
* Drain in-memory state to the buffer, then send completed-day rollups and * lifecycle events. Bounded by `timeoutMs`; leftovers stay buffered for
src/telemetry/index.ts:277
↓ 6 callers
Function
getDaemonPidPath
(projectRoot: string)
src/mcp/daemon-paths.ts:92
↓ 6 callers
Method
getFileByPath
* Get a file record by path
src/db/queries.ts:1909
↓ 6 callers
Method
getUnresolvedReferencesCount
* Get the count of PENDING (never-attempted) references without loading * them into memory. Rows marked status='failed' — attempted by a completed
src/db/queries.ts:2066
↓ 6 callers
Method
is_exported
isExported: walk the parent chain for an export_statement.
codegraph-kernel/src/tsjs/mod.rs:795
↓ 6 callers
Function
norm
(name: string)
src/resolution/callback-synthesizer.ts:1688
↓ 6 callers
Method
normalize
(p: string)
src/mcp/tools.ts:3870
↓ 6 callers
Function
preferCallSiteFile
(nodes: Node[], callSiteFile: string)
src/resolution/name-matcher.ts:523
↓ 6 callers
Function
preferredMcpConfigPath
* Pick the right MCP config path to write to. * * Prefers the unified `~/.gemini/config/mcp_config.json` when Antigravity * has signalled it's migr
src/installer/targets/antigravity.ts:99
↓ 6 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/swift.rs:323
↓ 6 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/csharp.rs:309
↓ 6 callers
Function
push_str
(out: &mut Vec<String>, bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1118
↓ 6 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:1149
↓ 6 callers
Method
resolve_body
resolveBody (kotlin.ts:219): first ERROR child whose child(0) is `{` (fun-interface parent body — unreachable post-defer, kept for contract), else fir
codegraph-kernel/src/kotlin.rs:302
↓ 6 callers
Method
runBatched
* Run `rows` through a multi-row `INSERT` built as `head + (tuple,)*n`, * decomposed greedily into the cached batch sizes. Preserves row order.
src/db/queries.ts:264
↓ 6 callers
Function
sameLanguageFamily
(a: string, b: string)
src/resolution/name-matcher.ts:151
↓ 6 callers
Method
searchNodes
* Search nodes by name using FTS with fallback to LIKE for better matching * * Search strategy: * 1. Try FTS5 prefix match (query*) for word-
src/db/queries.ts:1163
↓ 6 callers
Function
slice_utf16
JS `String.prototype.slice(0, n)` in UTF-16 units, without splitting a surrogate pair (when the cut would split one, we stop one code unit short — a l
codegraph-kernel/src/textutil.rs:111
↓ 6 callers
Method
spawnOne
()
src/extraction/parse-pool.ts:250
↓ 6 callers
Method
supportsLocation
* Whether this target supports the given install location. * * Some agents (Codex CLI as of 2026-05) have no project-local * config concept —
src/installer/targets/types.ts:95
↓ 6 callers
Method
terminate
()
src/mcp/query-pool.ts:42
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/java.rs:262
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/swift.rs:293
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/ruby.rs:219
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/scala.rs:260
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/rustlang.rs:213
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/dart.rs:228
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/csharp.rs:279
↓ 6 callers
Method
validateString
* Validate that a value is a non-empty string within length bounds. * * The `maxLength` cap protects against MCP clients that ship huge * pay
src/mcp/tools.ts:1151
↓ 6 callers
Method
visibility_of
getVisibility: whole-text substring matching over `modifiers` children; default INTERNAL. `open` → internal, `fileprivate` → private (via the 'private
codegraph-kernel/src/swift.rs:461
↓ 6 callers
Method
visitFunctionBody
(body: SyntaxNode, _functionId: string)
src/extraction/tree-sitter.ts:5129
↓ 6 callers
Method
visit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:684
↓ 6 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:502
↓ 5 callers
Function
advance
codegraph-kernel/grammars/scala/scanner.c:135
↓ 5 callers
Function
buildScopeIgnore
(rootDir: string, embeddedRoots?: Iterable<string>)
src/extraction/index.ts:695
↓ 5 callers
Function
codeGraphDirName
()
src/directory.ts:35
↓ 5 callers
Function
configPath
()
src/installer/targets/hermes.ts:111
↓ 5 callers
Function
configPath
(loc: Location)
src/installer/targets/opencode.ts:90
↓ 5 callers
Method
createEdges
* Create edges from resolved references
src/resolution/index.ts:1052
↓ 5 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/lua.rs:201
↓ 5 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:185
↓ 5 callers
Function
currentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 5 callers
Function
decodeLockInfo
(raw: string)
src/mcp/daemon-paths.ts:117
↓ 5 callers
Method
errorResult
(message: string)
src/mcp/tools.ts:4704
↓ 5 callers
Method
extractInheritance
* Extract inheritance relationships
src/extraction/tree-sitter.ts:5291
↓ 5 callers
Method
extract_name
extractName (tree-sitter.ts:90-192) — resolveName (ctor names) → name field → the method_signature inner unwrap → identifier-ish child → `<anonymous>`
codegraph-kernel/src/dart.rs:560
↓ 5 callers
Method
extract_type_annotations
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1270
↓ 5 callers
Method
findAllSymbols
* Find ALL symbols matching a name. Used by callers/callees/impact to aggregate * results across all matching symbols (e.g., multiple classes with
src/mcp/tools.ts:4498
↓ 5 callers
Function
finish
( peers: { pid: number | null; hostPid: number | null }, putBack?: Buffer, )
src/mcp/daemon.ts:800
↓ 5 callers
Function
getCurrentVersion
(db: SqliteDatabase)
src/db/migrations.ts:158
↓ 5 callers
Function
getDaemonSocketCandidates
(projectRoot: string)
src/mcp/daemon-paths.ts:69
↓ 5 callers
Function
getDaemonSocketPath
(projectRoot: string)
src/mcp/daemon-paths.ts:86
↓ 5 callers
Method
getImportMappings
Get cached import mappings for a file
src/resolution/types.ts:134
↓ 5 callers
Method
getJournalMode
* The journal mode actually in effect ('wal', 'delete', …). 'wal' means * readers never block on a concurrent writer; anything else means they can,
src/index.ts:1241
↓ 5 callers
Method
getLanguageFromNodeId
* Get language from node ID
src/resolution/index.ts:2086
↓ 5 callers
Method
getStats
* Get graph statistics
src/db/queries.ts:2424
↓ 5 callers
Method
isEnabled
()
src/telemetry/index.ts:205
↓ 5 callers
Method
mb
(n: number)
src/db/wal-valve.ts:127
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/kiro.ts:48
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/claude.ts:49
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/cursor.ts:56
↓ 5 callers
Method
open
__tests__/fixtures/kernel-parity/torture.cpp:43
↓ 5 callers
Function
pathFor
* Path math keyed on the TARGET platform (not the host) — same convention as * `detectInstallMethod`, so the planner is deterministic when unit-teste
src/upgrade/remove-binary.ts:103
↓ 5 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/kotlin.rs:295
↓ 5 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/go.rs:202
↓ 5 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/ccpp/mod.rs:462
↓ 5 callers
Method
readConfig
()
src/telemetry/index.ts:338
↓ 5 callers
Method
recordLifecycle
install / index / uninstall — buffered like everything else.
src/telemetry/index.ts:256
↓ 5 callers
Method
recordUsage
In-memory increment — safe on the MCP tool-call hot path.
src/telemetry/index.ts:236
↓ 5 callers
Function
removeMarkedSection
( filePath: string, startMarker: string, endMarker: string, )
src/installer/targets/shared.ts:205
↓ 5 callers
Function
resolveImportPath
( importPath: string, fromFile: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:113
↓ 5 callers
Method
send
(response: JsonRpcResponse)
src/mcp/transport.ts:77
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/claude.ts:67
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/gemini.ts:53
↓ 5 callers
Method
settle
(job: ParseJob, result?: ExtractionResult, err?: Error)
src/extraction/parse-pool.ts:424
↓ 5 callers
Function
splitLines
(content: string)
src/installer/targets/hermes.ts:141
↓ 5 callers
Function
splitTopLevel
Split `body` on `sep` at brace/paren/bracket depth 0 (commas inside `{…}` / `(…)` stay together).
src/resolution/c-fnptr-synthesizer.ts:144
↓ 5 callers
Function
stripCppTemplateArgs
(name: string)
src/extraction/languages/c-cpp.ts:157
↓ 5 callers
Function
supervisionLostReason
(state: SupervisionState)
src/mcp/ppid-watchdog.ts:44
↓ 5 callers
Method
terminate
()
src/extraction/parse-pool.ts:41
↓ 5 callers
Function
tomlConfigPath
()
src/installer/targets/codex.ts:44
↓ 5 callers
Function
topLevelRange
(lines: string[], key: string)
src/installer/targets/hermes.ts:150
↓ 5 callers
Method
top_row
(&self)
codegraph-kernel/src/kotlin.rs:265
↓ 5 callers
Method
top_row
(&self)
codegraph-kernel/src/go.rs:192
↓ 5 callers
Method
visibility_of
(&self, node: Node)
codegraph-kernel/src/java.rs:405
↓ 5 callers
Method
visibility_of
getVisibility: any `visibility_modifier` child with one of the three texts; none → public (the php default).
codegraph-kernel/src/php.rs:425
↓ 5 callers
Method
visibility_of
cppExtractor.getVisibility: the FIRST access_specifier among the parent's children decides (document order, not nearest-preceding — bug-for-bug with t
codegraph-kernel/src/ccpp/mod.rs:716
↓ 5 callers
Method
visibility_of
typescriptExtractor.getVisibility (TS only — JS has no hook).
codegraph-kernel/src/tsjs/mod.rs:776
↓ 5 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/java.rs:487
↓ 5 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/swift.rs:562
← previous
next →
201–300 of 3,841, ranked by callers