MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 12 callersMethoddestroy
Terminate all workers and answer any outstanding calls gracefully.
src/mcp/query-pool.ts:312
↓ 12 callersFunctionenclosingFn
Innermost function/method node whose line range contains `line`.
src/resolution/callback-synthesizer.ts:155
↓ 12 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:1618
↓ 12 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:796
↓ 12 callersMethodpostMessage
(msg: unknown)
src/mcp/query-pool.ts:41
↓ 12 callersMethodstop
()
src/mcp/transport.ts:76
↓ 11 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/swift.rs:329
↓ 11 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/php.rs:314
↓ 11 callersFunctiondetectLanguage
(filePath: string, source?: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:477
↓ 11 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:1030
↓ 11 callersMethodgetIncomingEdges
* Get incoming edges to a node
src/index.ts:1517
↓ 11 callersMethodgetStats
* Get statistics about the knowledge graph
src/index.ts:1220
↓ 11 callersFunctionisGeneratedFile
(filePath: string)
src/extraction/generated-detection.ts:79
↓ 11 callersFunctionisInitialized
(projectRoot: string)
src/directory.ts:93
↓ 11 callersFunctionis_word_at
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:106
↓ 11 callersMethodpragma
(str: string, options?: { simple?: boolean })
src/db/sqlite-adapter.ts:29
↓ 11 callersMethodpush_ref
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/tsjs/mod.rs:294
↓ 11 callersFunctionrowToNode
* Convert database row to Node object
src/db/queries.ts:131
↓ 11 callersMethodsync
* Sync with current file state (incremental update) * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:742
↓ 11 callersMethodtextResult
(text: string)
src/mcp/tools.ts:4698
↓ 11 callersMethodvisitNode
Visit a child node (dispatches through the standard visitNode logic)
src/extraction/tree-sitter-types.ts:54
↓ 11 callersFunctionword_end
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:148
↓ 10 callersFunctionatomicWriteFileSync
(filePath: string, content: string)
src/installer/targets/shared.ts:81
↓ 10 callersFunctioncollect
Collect candidate files.
scripts/kernel-parity.mjs:74
↓ 10 callersFunctioncreateYielder
(budgetMs: number = DEFAULT_YIELD_BUDGET_MS)
src/resolution/cooperative-yield.ts:42
↓ 10 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/kotlin.rs:321
↓ 10 callersFunctionfn
(name: string)
__tests__/resolution.test.ts:1041
↓ 10 callersFunctiongetTelemetry
()
src/telemetry/index.ts:543
↓ 10 callersFunctionisSourceFile
(filePath: string, overrides?: Record<string, Language>)
src/extraction/grammars.ts:184
↓ 10 callersMethodis_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
↓ 10 callersFunctionloadAllGrammars
()
src/extraction/grammars.ts:438
↓ 10 callersFunctiononProgress
(progress: IndexProgress)
src/ui/shimmer-progress.ts:74
↓ 10 callersMethodstart
(handler: MessageHandler)
src/mcp/transport.ts:75
↓ 10 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/lua.rs:160
↓ 10 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/python.rs:143
↓ 10 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/ruby.rs:207
↓ 9 callersFunctionatomText
Text of an atom with quoted-atom quotes stripped (`'EXIT'` → `EXIT`).
src/extraction/languages/erlang.ts:27
↓ 9 callersMethodcollect
(n: Node<'t>, depth: u32, out: &mut Vec<Node<'t>>)
codegraph-kernel/src/tsjs/extractors.rs:875
↓ 9 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ccpp/mod.rs:482
↓ 9 callersFunctionextractName
* Extract the name from a node based on language
src/extraction/tree-sitter.ts:90
↓ 9 callersMethodgetCallers
* 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:261
↓ 9 callersMethodgetNodesByQualifiedName
Get all nodes by qualified name
src/resolution/types.ts:74
↓ 9 callersMethodinsertEdges
* Insert multiple edges in a transaction
src/db/queries.ts:1668
↓ 9 callersFunctionisLanguageSupported
(language: Language)
src/extraction/grammars.ts:529
↓ 9 callersFunctionsafeJsonParse
(value: string, fallback: T)
src/utils.ts:193
↓ 9 callersFunctionvalidatePathWithinRoot
( projectRoot: string, filePath: string, options?: { allowSymlinkEscape?: boolean } )
src/utils.ts:110
↓ 9 callersMethodvisitNode
* Visit a node and extract information
src/extraction/tree-sitter.ts:936
↓ 8 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/dart.rs:263
↓ 8 callersMethodextract_name
extractName incl. the resolveName hook: a multi-segment extension name (`extension KF.Builder`) takes the LAST type_identifier's text.
codegraph-kernel/src/swift.rs:431
↓ 8 callersMethodgetCallees
* Find all functions/methods called by a function * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to tra
src/graph/traversal.ts:319
↓ 8 callersFunctiongetKernel
()
src/extraction/kernel/loader.ts:144
↓ 8 callersFunctiongetMcpServerConfig
()
src/installer/targets/shared.ts:24
↓ 8 callersFunctionis_word
(b: u8)
codegraph-kernel/src/cfnptr.rs:101
↓ 8 callersMethodpostMessage
(msg: unknown)
src/extraction/parse-pool.ts:40
↓ 8 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/scala.rs:271
↓ 8 callersMethodrelease
* Release the lock
src/utils.ts:284
↓ 8 callersFunctionsliceLines
(content: string, startLine?: number, endLine?: number)
src/resolution/callback-synthesizer.ts:107
↓ 8 callersMethodtop_row
(&self)
codegraph-kernel/src/tsjs/mod.rs:282
↓ 7 callersFunctionadvance
codegraph-kernel/grammars/kotlin/scanner.c:60
↓ 7 callersFunctionblankRange
* Replace every char in a slice with spaces, but keep newlines so line * numbers computed downstream remain valid.
src/resolution/strip-comments.ts:72
↓ 7 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/rustlang.rs:247
↓ 7 callersFunctiondefaultsOnlyIgnore
* Defaults-only ignore matcher (no root `.gitignore` merged). Used wherever the * parent repo's own ignore rules must NOT apply — inside embedded chi
src/extraction/index.ts:308
↓ 7 callersMethoddetect
Detect if project uses this framework (project-level, called once at startup)
src/resolution/types.ts:202
↓ 7 callersMethodextract
* Parse and extract from the source code
src/extraction/tree-sitter.ts:454
↓ 7 callersMethodextractFunction
* Extract a function
src/extraction/tree-sitter.ts:1517
↓ 7 callersMethodextract_function
(&mut self, node: Node<'t>, name_override: Option<String>)
codegraph-kernel/src/tsjs/extractors.rs:17
↓ 7 callersMethodextract_name
extractName — the zero-field grammar means the nameField lookup always misses; names come from the shared fallback scan (first direct identifier-famil
codegraph-kernel/src/kotlin.rs:443
↓ 7 callersMethodextract_name
extractName (tree-sitter.ts:90) — the C#-reachable paths: the `name` field (always present on named declarations), else the shared identifier scan, el
codegraph-kernel/src/csharp.rs:486
↓ 7 callersMethodextract_name
extractName: extractNameRaw + the universal recoverMangledName net (wired for BOTH c and cpp in languages/c-cpp.ts).
codegraph-kernel/src/ccpp/mod.rs:581
↓ 7 callersMethodextract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:736
↓ 7 callersFunctiongetDatabasePath
(projectRoot: string)
src/db/index.ts:720
↓ 7 callersMethodgetFiles
* Get all tracked files
src/index.ts:1535
↓ 7 callersMethodgetWalSizeBytes
* 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:433
↓ 7 callersFunctioninit_signature
The `= <first 100 UTF-16 units>[...]` initializer signature used by extractVariable (its `.length >= 100` check fires exactly when the slice hit the c
codegraph-kernel/src/textutil.rs:150
↓ 7 callersMethodinsertUnresolvedRefsBatch
* Insert multiple unresolved references in a transaction
src/db/queries.ts:1980
↓ 7 callersFunctionjsonDeepEqual
(a: unknown, b: unknown)
src/installer/targets/shared.ts:111
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:292
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/rustlang.rs:224
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/dart.rs:238
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/php.rs:308
↓ 7 callersFunctionregister
(f: fn())
__tests__/fixtures/kernel-parity/torture.rs:164
↓ 7 callersFunctionresolveMethodOnType
( typeName: string, methodName: string, ref: UnresolvedRef, context: ResolutionContext, confidence:
src/resolution/name-matcher.ts:536
↓ 7 callersFunctionscanDirectory
( rootDir: string, onProgress?: (current: number, file: string) => void )
src/extraction/index.ts:1187
↓ 7 callersMethodtext
(&self, node: Node)
codegraph-kernel/src/rlang.rs:144
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/php.rs:278
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/ccpp/mod.rs:452
↓ 7 callersMethodtruncateOutput
* Truncate output if it exceeds the maximum length
src/mcp/tools.ts:4559
↓ 7 callersMethodvisibility_of
getVisibility: FIRST `modifier` child whose text is one of the four levels wins; none → private (the C# default).
codegraph-kernel/src/csharp.rs:419
↓ 6 callersMethodacquire
* Acquire the lock * * @returns A release function to call when done
src/utils.ts:384
↓ 6 callersFunctionbody_of
resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
codegraph-kernel/src/tsjs/mod.rs:896
↓ 6 callersFunctionbuildDefaultIgnore
(rootDir: string)
src/extraction/index.ts:296
↓ 6 callersFunctionbytes_to_string
(bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1123
↓ 6 callersFunctionclamp
(value: number, min: number, max: number)
src/utils.ts:205
↓ 6 callersFunctioncleanup
()
src/mcp/proxy.ts:449
↓ 6 callersMethodclear
()
src/resolution/lru-cache.ts:59
↓ 6 callersMethodclearCaches
* Clear internal caches
src/resolution/index.ts:388
↓ 6 callersFunctionclearProjectConfigCache
()
src/project-config.ts:342
↓ 6 callersFunctioncollapseWs
(text: string)
src/extraction/languages/erlang.ts:31
↓ 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
← previousnext →101–200 of 3,841, ranked by callers