MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions5,753 in github.com/colbymchenry/codegraph

↓ 6 callersFunctionclearProjectConfigCache
()
src/project-config.ts:395
↓ 6 callersFunctioncollapseWs
(text: string)
src/extraction/languages/erlang.ts:35
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/go.rs:222
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ruby.rs:255
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/scala.rs:295
↓ 6 callersFunctiondecodeLockInfo
(raw: string)
src/mcp/daemon-paths.ts:167
↓ 6 callersMethoddrain
()
src/mcp/query-pool.ts:262
↓ 6 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:140
↓ 6 callersMethodextractDecoratorsFor
* 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:4964
↓ 6 callersMethodextractTypeAnnotations
* 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:5841
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/java.rs:471
↓ 6 callersMethodextract_name
extractName — nameField `name`, else the identifier-like child scan.
codegraph-kernel/src/rustlang.rs:346
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/php.rs:407
↓ 6 callersFunctionfacts
(src: &str)
codegraph-kernel/src/cfnptr.rs:1269
↓ 6 callersMethodfill
(room: number)
src/mcp/tools.ts:5292
↓ 6 callersMethodflushNow
* 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 callersMethodgeneratedFilePredicate
* A `(path) => boolean` generated-file test over a BOUNDED candidate list, * unioning the index-time content-banner flag with the filename conventi
src/index.ts:1618
↓ 6 callersFunctiongetCurrentVersion
(db: SqliteDatabase)
src/db/migrations.ts:185
↓ 6 callersFunctiongetDaemonSocketCandidates
(projectRoot: string)
src/mcp/daemon-paths.ts:70
↓ 6 callersFunctiongetDaemonSocketPath
(projectRoot: string)
src/mcp/daemon-paths.ts:87
↓ 6 callersFunctiongetExploreOutputBudget
(fileCount: number)
src/mcp/tools.ts:220
↓ 6 callersMethodgetFileByPath
* Get a file record by path
src/db/queries.ts:2161
↓ 6 callersMethodgetUnresolvedReferencesCount
* 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:2318
↓ 6 callersMethodis_exported
isExported: walk the parent chain for an export_statement.
codegraph-kernel/src/tsjs/mod.rs:798
↓ 6 callersFunctionjoinPath
(base: string, resource: string)
__tests__/fixtures/factory-closure-ts/src/lib/http.ts:21
↓ 6 callersFunctionmergeRanges
(ranges: ReadonlyArray<ExploreLineRange>)
src/mcp/explore-dedup.ts:99
↓ 6 callersFunctionnorm
(name: string)
src/resolution/callback-synthesizer.ts:1693
↓ 6 callersMethodnormalize
(p: string)
src/mcp/tools.ts:6130
↓ 6 callersMethodopen
__tests__/fixtures/kernel-parity/torture.cpp:43
↓ 6 callersFunctionpreferredMcpConfigPath
* 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 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/swift.rs:324
↓ 6 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/csharp.rs:309
↓ 6 callersFunctionpush_str
(out: &mut Vec<String>, bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1136
↓ 6 callersMethodresolveReferences
* Resolve unresolved references and create edges * * This method takes unresolved references from extraction and attempts * to resolve them u
src/index.ts:1218
↓ 6 callersMethodresolve_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 callersFunctionround
(f)
scripts/agent-eval/parse-run.mjs:1245
↓ 6 callersMethodrunBatched
* 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:293
↓ 6 callersMethodsearchNodes
* 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:1238
↓ 6 callersMethodsend
(response: JsonRpcResponse)
src/mcp/transport.ts:77
↓ 6 callersFunctionslice_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 callersMethodspawnOne
()
src/extraction/parse-pool.ts:269
↓ 6 callersMethodsupportsLocation
* Whether this target supports the given install location. * * Some agents (GitHub Copilot CLI, the Copilot JetBrains plugin) * have no proje
src/installer/targets/types.ts:95
↓ 6 callersMethodterminate
()
src/mcp/query-pool.ts:42
↓ 6 callersFunctiontoQueryString
(params: Record<string, string | number | undefined>)
__tests__/fixtures/factory-closure-ts/src/lib/http.ts:11
↓ 6 callersFunctiontomlConfigPath
(loc: Location)
src/installer/targets/codex.ts:60
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/java.rs:262
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/swift.rs:294
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/ruby.rs:219
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/scala.rs:260
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/rustlang.rs:216
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/dart.rs:228
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/csharp.rs:279
↓ 6 callersMethodvalidateString
* 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:1684
↓ 6 callersMethodvisibility_of
getVisibility: whole-text substring matching over `modifiers` children; default INTERNAL. `open` → internal, `fileprivate` → private (via the 'private
codegraph-kernel/src/swift.rs:462
↓ 6 callersMethodvisitFunctionBody
(body: SyntaxNode, _functionId: string)
src/extraction/tree-sitter.ts:5196
↓ 6 callersMethodvisit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:686
↓ 6 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:502
↓ 5 callersFunctionadvance
codegraph-kernel/grammars/scala/scanner.c:135
↓ 5 callersFunctionallocateExploreBudget
( candidates: readonly ExploreAllocationCandidate[], budget: ExploreOutputBudget, maxFiles: number, )
src/mcp/tools.ts:674
↓ 5 callersMethodclear
* Clear all data from the graph
src/index.ts:1922
↓ 5 callersMethodclear
Drop everything. Used by tests; a real session just goes away instead.
src/mcp/explore-session-state.ts:279
↓ 5 callersFunctioncodeGraphDirName
()
src/directory.ts:35
↓ 5 callersFunctionconfigPath
()
src/installer/targets/hermes.ts:111
↓ 5 callersFunctionconfigPath
(loc: Location)
src/installer/targets/opencode.ts:90
↓ 5 callersMethodcreateEdges
* Create edges from resolved references
src/resolution/index.ts:1063
↓ 5 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/lua.rs:201
↓ 5 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:185
↓ 5 callersFunctioncurrentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 5 callersMethodemit
(event: string, payload: unknown)
__tests__/fixtures/tail-render-ts/src/lib/socket.ts:2
↓ 5 callersMethoderrorResult
(message: string)
src/mcp/tools.ts:7049
↓ 5 callersFunctionexploreProjectKey
(projectRoot: string)
src/mcp/explore-session-state.ts:151
↓ 5 callersFunctionextract
(file_path: &str, source: &str)
codegraph-kernel/src/go.rs:103
↓ 5 callersMethodextractInheritance
* Extract inheritance relationships
src/extraction/tree-sitter.ts:5362
↓ 5 callersMethodextract_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 callersMethodextract_type_annotations
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1274
↓ 5 callersFunctionfail
(error: string, status = 400)
telemetry-dashboard/src/api.ts:53
↓ 5 callersMethodfindAllSymbols
* 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:6842
↓ 5 callersFunctionfinish
( peers: { pid: number | null; hostPid: number | null }, putBack?: Buffer, )
src/mcp/daemon.ts:806
↓ 5 callersMethodgetGeneratedPathsAmong
* Which of `filePaths` the index flagged as tool-generated (schema v9+). * * Bounded-lookup by design: every consumer already holds a short cand
src/db/queries.ts:2016
↓ 5 callersMethodgetImportMappings
Get cached import mappings for a file
src/resolution/types.ts:134
↓ 5 callersMethodgetJournalMode
* 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:1311
↓ 5 callersMethodgetLanguageFromNodeId
* Get language from node ID
src/resolution/index.ts:2100
↓ 5 callersMethodgetStats
* Get graph statistics
src/db/queries.ts:2804
↓ 5 callersMethodisEnabled
()
src/telemetry/index.ts:205
↓ 5 callersFunctionisProcessAlive
(pid: number)
src/mcp/daemon-registry.ts:61
↓ 5 callersFunctionisTestFile
(filePath: string)
src/search/query-utils.ts:290
↓ 5 callersMethodlisten
(socketPath: string)
src/mcp/daemon.ts:220
↓ 5 callersFunctionloadParsedConfig
* Load the parsed `codegraph.json` for a project, mtime-cached. A missing or * malformed file yields the zero-config default. One `stat` (and at most
src/project-config.ts:314
↓ 5 callersMethodmb
(n: number)
src/db/wal-valve.ts:127
↓ 5 callersFunctionmcpConfigPath
()
src/installer/targets/copilot-cli.ts:54
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/kiro.ts:48
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/claude.ts:49
↓ 5 callersFunctionmcpJsonPath
()
src/installer/targets/copilot-jetbrains.ts:81
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/copilot-vscode.ts:80
↓ 5 callersFunctionmcpJsonPath
(loc: Location)
src/installer/targets/cursor.ts:56
↓ 5 callersFunctionnotify
()
__tests__/fixtures/factory-closure-ts/src/stores/dashboard-store.ts:342
↓ 5 callersFunctionnumber
(n)
telemetry-dashboard/public/theme.js:89
↓ 5 callersFunctionnumberSourceLines
* Prefix each line of a source slice with its 1-based line number, matching * the Read tool's `cat -n` convention (number + tab) so the agent treats
src/mcp/tools.ts:819
↓ 5 callersFunctionon_small_stack
(f: impl FnOnce() -> T + Send + 'static)
codegraph-kernel/src/stack.rs:192
↓ 5 callersFunctionpathFor
* 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
← previousnext →201–300 of 5,753, ranked by callers