MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 3 callersMethodresolveBatchYielding
* Resolve one batch with a yield checkpoint between EVERY ref so the #850 * liveness heartbeat can fire on a slow/dense batch (#1091). The checkpoi
src/resolution/index.ts:1315
↓ 3 callersMethodresolveOneTimed
(ref: UnresolvedRef)
src/resolution/index.ts:1403
↓ 3 callersMethodresolveReferencesBatched
* Resolve references in batches to keep memory bounded on large codebases. * Processes chunks of unresolved refs, persisting results after each bat
src/index.ts:1159
↓ 3 callersFunctionresolveTargetFlag
(value: string, loc: Location)
src/installer/targets/registry.ts:66
↓ 3 callersMethodrunMaintenance
* Lightweight maintenance to run after bulk writes (indexAll, sync). * Two operations: * * - `PRAGMA optimize` — incremental ANALYZE; SQLit
src/db/index.ts:600
↓ 3 callersMethodscheduleSync
* Schedule a normal debounced sync after a source edit.
src/sync/watcher.ts:791
↓ 3 callersFunctionscorePathRelevance
( filePath: string, query: string, projectNameTokens?: Set<string>, )
src/search/query-utils.ts:221
↓ 3 callersMethodsendError
(id: string | number | null, code: number, message: string, data?: unknown)
src/mcp/transport.ts:81
↓ 3 callersMethodsetDefaultCodeGraph
* Update the default CodeGraph instance (e.g. after lazy initialization)
src/mcp/tools.ts:855
↓ 3 callersMethodsetEnabled
* Persist an explicit user choice (installer toggle or `codegraph * telemetry on|off`). Turning telemetry off also deletes any buffered, * unsen
src/telemetry/index.ts:214
↓ 3 callersMethodsetWalAutocheckpoint
* Set the connection's `wal_autocheckpoint` interval (pages; 0 disables). * Bulk indexing defers checkpoints entirely (#1231): the default 1000-pag
src/db/index.ts:468
↓ 3 callersMethodsignature_of
goExtractor.getSignature: params + ' ' + result.
codegraph-kernel/src/go.rs:328
↓ 3 callersFunctionsimple_ident_re
()
codegraph-kernel/src/ccpp/mod.rs:116
↓ 3 callersMethodspawnOne
()
src/mcp/query-pool.ts:203
↓ 3 callersMethodstop
Graceful shutdown: close all sessions, the engine, and clean up the lock.
src/mcp/daemon.ts:318
↓ 3 callersMethodstop
* Stop the server. In daemon mode this triggers graceful shutdown of every * connected session; in direct mode it mirrors the pre-#411 behavior (cl
src/mcp/index.ts:282
↓ 3 callersMethodstoreExtractionResult
* Store extraction result in database
src/extraction/index.ts:2255
↓ 3 callersFunctionstringLitValue
Read a string_lit value (skipping the quotes / template start/end tokens).
src/extraction/languages/terraform.ts:42
↓ 3 callersFunctionstrip_c
Port of `stripCStyle(src, /*allowSingleQuoteStrings*/ false)`: `/* */` and `//` comments blanked to spaces (newlines preserved), `"` and backtick stri
codegraph-kernel/src/cfnptr.rs:210
↓ 3 callersFunctionstrip_generic_and_qualifier
The `new ns.Foo<T>()` name normalization shared by instantiation / anonymous-class / decorator extraction: strip `<...` from the first `<` (index > 0)
codegraph-kernel/src/java.rs:1565
↓ 3 callersFunctionswiftBaseNamesForObjcSelector
(selector: string)
src/resolution/swift-objc-bridge.ts:196
↓ 3 callersMethodsynthEdgeNote
* Describe a synthesized (dynamic-dispatch) edge for human output: how the * callback was wired up — the bridge static parsing can't see. Returns n
src/mcp/tools.ts:1782
↓ 3 callersFunctiontakeDeferredPreParse
( filePath: string, source: string, language: Language )
src/extraction/kernel/index.ts:176
↓ 3 callersMethodtop_row
(&self)
codegraph-kernel/src/rlang.rs:156
↓ 3 callersMethodtraverse
* Traverse the graph from a starting node * * Uses breadth-first search by default. Supports filtering by edge types, * node types, and trave
src/index.ts:1567
↓ 3 callersMethodtraverseBFS
* Traverse the graph using breadth-first search * * @param startId - Starting node ID * @param options - Traversal options * @returns Subg
src/graph/traversal.ts:48
↓ 3 callersFunctiontreatStdinFailureAsShutdown
( onTerminal: () => void, stream: NodeJS.ReadableStream = process.stdin )
src/mcp/stdin-teardown.ts:26
↓ 3 callersFunctiontryAcquireDaemonLock
(projectRoot: string)
src/mcp/daemon.ts:555
↓ 3 callersFunctionunifiedConfigDir
()
src/installer/targets/antigravity.ts:73
↓ 3 callersFunctionunifiedMcpConfigPath
()
src/installer/targets/antigravity.ts:76
↓ 3 callersMethoduninitialize
* Completely remove CodeGraph from the project. * This closes the database and deletes the .CodeGraph directory. * * WARNING: This permanentl
src/index.ts:1823
↓ 3 callersMethoduninstall
* Inverse of install. Removes only what install would have written; * preserves sibling MCP servers, sibling permissions, and unrelated * markdo
src/installer/targets/types.ts:104
↓ 3 callersFunctionupdateCheckCachePath
(dir: string)
src/upgrade/update-check.ts:93
↓ 3 callersFunctionupdateCheckDisabled
(env: NodeJS.ProcessEnv = process.env)
src/upgrade/update-check.ts:89
↓ 3 callersFunctionvalidateDirectory
(projectRoot: string)
src/directory.ts:781
↓ 3 callersMethodvisibility_of
rubyExtractor.getVisibility — walk the previousNamedSibling chain (unbounded, through non-matching siblings); the first `call` sibling whose `method`
codegraph-kernel/src/ruby.rs:361
↓ 3 callersMethodvisibility_of
rustExtractor.getVisibility: direct `visibility_modifier` child whose text contains `pub` → public, else private; none → private.
codegraph-kernel/src/rustlang.rs:370
↓ 3 callersMethodvisit
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:598
↓ 3 callersMethodvisitPascalBlock
* Recursively visit a Pascal block/statement tree for call expressions
src/extraction/tree-sitter.ts:6611
↓ 3 callersMethodvisit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/swift.rs:720
↓ 3 callersMethodvisit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/go.rs:419
↓ 3 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/ruby.rs:453
↓ 3 callersFunctionwalk
(absDir: string)
src/extraction/index.ts:439
↓ 3 callersMethodwarmCaches
* Pre-build lightweight caches for resolution. * Node lookups are now handled by indexed SQLite queries instead of * loading all nodes into memo
src/resolution/index.ts:349
↓ 3 callersFunctionworktreeMismatchWarning
(m: WorktreeIndexMismatch)
src/sync/worktree.ts:126
↓ 3 callersFunctionwritePromptHookEntry
(loc: Location)
src/installer/targets/claude.ts:417
↓ 2 callersFunctionHelper
(int x)
__tests__/fixtures/kernel-parity/TortureTopLevel.cs:7
↓ 2 callersFunction__emitWatchEventForTests
(projectRoot: string, relPath: string)
src/sync/watcher.ts:984
↓ 2 callersFunction_resetGlyphsCache
()
src/ui/glyphs.ts:136
↓ 2 callersMethodacquire
* Acquire the lock. Throws if the lock is held by another live process.
src/utils.ts:237
↓ 2 callersFunctionacquireLockViaExclusiveOpen
(pidPath: string, info: DaemonLockInfo)
src/mcp/daemon.ts:615
↓ 2 callersFunctionadd
Sum helper (docstring). */
__tests__/fixtures/kernel-parity/torture.c:47
↓ 2 callersFunctionaddIncludeIgnoredPatterns
(rootDir: string, patterns: string[])
src/project-config.ts:359
↓ 2 callersFunctionadvance
codegraph-kernel/grammars/dart/scanner.c:20
↓ 2 callersMethodadvanceSupertypeGeneration
Invalidate the getSupertypes memo — call when resolved edges may have advanced.
src/resolution/index.ts:256
↓ 2 callersMethodappendLines
(lines: BufferLine[])
src/telemetry/index.ts:398
↓ 2 callersFunctionapplyLanguageGate
* Drop cross-language candidates from a name lookup. Two regimes: * - `references` (type-usage): a type named in language X resolves to a * SAME
src/resolution/name-matcher.ts:189
↓ 2 callersMethodarmIdleTimer
()
src/mcp/daemon.ts:392
↓ 2 callersFunctionarrow_at
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:789
↓ 2 callersMethodbackfillFully
* With the writer parked on the returned promise, loop passive passes until * one reports the entire WAL backfilled (typically the second: the firs
src/db/wal-valve.ts:226
↓ 2 callersMethodbackstopShouldExit
* Decide whether the inactivity backstop should reap the daemon right now. * Public + `isAlive`-injected for deterministic tests; the timer calls i
src/mcp/daemon.ts:467
↓ 2 callersMethodbeginBulkEdgeLoad
* Enter bulk-edge-load mode: drop the non-unique edge indexes so the mass * INSERT OR IGNORE stream pays one B-tree (the identity index) instead of
src/db/index.ts:292
↓ 2 callersFunctionbindFirstUsableSocket
( candidates: string[], listen: (socketPath: string) => Promise<net.Server>, opts: { onRelocate?: (from:
src/mcp/daemon.ts:703
↓ 2 callersFunctionblankCAutoInference
(source: string)
src/extraction/languages/c-cpp.ts:1077
↓ 2 callersFunctionblankCCplusplusGuardBodies
(source: string)
src/extraction/languages/c-cpp.ts:877
↓ 2 callersFunctionblankCFileScopePrefixedDeclMacros
(source: string)
src/extraction/languages/c-cpp.ts:1365
↓ 2 callersFunctionblankCKernelAnnotations
(source: string)
src/extraction/languages/c-cpp.ts:1158
↓ 2 callersFunctionblankCNamedVariadicDefineDots
(source: string)
src/extraction/languages/c-cpp.ts:1484
↓ 2 callersFunctionblankCParameterizedAnnotationMacros
(source: string)
src/extraction/languages/c-cpp.ts:1206
↓ 2 callersFunctionblankCSandwichedAnnotations
(source: string)
src/extraction/languages/c-cpp.ts:1058
↓ 2 callersFunctionblankCStatementMacroCalls
(source: string)
src/extraction/languages/c-cpp.ts:933
↓ 2 callersFunctionblankCTrailingParamAttrMacros
(source: string)
src/extraction/languages/c-cpp.ts:1101
↓ 2 callersFunctionblankCTypeKeywordArgs
(source: string)
src/extraction/languages/c-cpp.ts:1270
↓ 2 callersFunctionblankCVaArgQualifiedTypeArgs
(source: string)
src/extraction/languages/c-cpp.ts:1460
↓ 2 callersFunctionblankCppApiPrefixMacros
(source: string)
src/extraction/languages/c-cpp.ts:606
↓ 2 callersFunctionblankCppInlineAnnotationMacros
(source: string)
src/extraction/languages/c-cpp.ts:632
↓ 2 callersFunctionblankCppInlineMacros
(source: string)
src/extraction/languages/c-cpp.ts:377
↓ 2 callersFunctionblankMetalAttributes
(source: string)
src/extraction/languages/c-cpp.ts:439
↓ 2 callersFunctionboundedEditDistance
(a: string, b: string, maxDist: number)
src/search/query-parser.ts:157
↓ 2 callersFunctionbracket_span
`\[[^\]]*\]` at `i` (the INIT/ARRAY declarator form — the class admits newlines): position after the FIRST `]`, or None.
codegraph-kernel/src/cfnptr.rs:519
↓ 2 callersFunctionbuildAntigravityEntry
* Build the codegraph MCP-server entry for Antigravity. Distinct from * `getMcpServerConfig()` because Antigravity (a) rejects the `type` * field an
src/installer/targets/antigravity.ts:142
↓ 2 callersFunctionbuildCodegraphBlock
()
src/installer/targets/codex.ts:136
↓ 2 callersFunctionbuildCursorMcpConfig
* Build the codegraph MCP-server config for Cursor at the given * location. Inherits the shared shape ({type, command, args}) and * appends `--path`
src/installer/targets/cursor.ts:171
↓ 2 callersMethodbuildFileRecord
The FileRecord for a fresh-index store (nodeCount is the PRE-filter count).
src/extraction/index.ts:2413
↓ 2 callersFunctionbuildNode25BlockBanner
(nodeVersion: string)
src/bin/node-version-check.ts:20
↓ 2 callersFunctionbuildNodeTooOldBanner
(nodeVersion: string)
src/bin/node-version-check.ts:58
↓ 2 callersFunctionbuildPickItems
(daemons: DaemonRecord[], cwdRoot: string | null, now: number)
src/mcp/daemon-manager.ts:37
↓ 2 callersFunctionbuildRelaunchArgv
( scriptPath: string, scriptArgs: readonly string[], execArgv: readonly string[] = process.execArgv )
src/extraction/wasm-runtime-flags.ts:99
↓ 2 callersFunctionbuildTomlTable
(header: string, values: Record<string, string | string[]>)
src/installer/targets/toml.ts:52
↓ 2 callersFunctionbuildWindowsUpgradeScript
(bundleRoot: string, version: string, arch: string)
src/upgrade/index.ts:576
↓ 2 callersFunctionbusyGuidance
Success-shaped overload guidance (NEVER isError — see the abandonment rule).
src/mcp/query-pool.ts:129
↓ 2 callersFunctioncDeclaratorIdentifier
* Resolve the declared identifier inside a C declarator. A `declaration`'s * `declarator` field nests the name through `init_declarator` (with value)
src/extraction/tree-sitter.ts:234
↓ 2 callersFunctioncFnPointerDispatchEdges
( _queries: QueryBuilder, ctx: ResolutionContext, onYield: MaybeYield, onFraction?: (fraction: number)
src/resolution/c-fnptr-synthesizer.ts:434
↓ 2 callersFunctionc_declarator_identifier
cDeclaratorIdentifier (tree-sitter.ts:234): resolve the declared identifier through init/pointer/array/parenthesized declarator wrappers; a function_d
codegraph-kernel/src/ccpp/mod.rs:1930
↓ 2 callersFunctioncacheIsFresh
(cache: UpdateCheckCacheFile | null, nowMs: number)
src/upgrade/update-check.ts:155
↓ 2 callersMethodcacheNode
* Add a node to the cache, evicting oldest if needed
src/db/queries.ts:855
↓ 2 callersFunctioncalleeName
The call's callee name when it is a bare identifier or `pkg::fn` (→ `fn`).
src/extraction/languages/r.ts:46
↓ 2 callersFunctioncallerCount
(fnName: string)
__tests__/sync.test.ts:683
↓ 2 callersFunctioncanon
(result: ExtractionResult)
__tests__/kernel-dart-parity.test.ts:52
↓ 2 callersFunctioncanonicalVersionTag
(v: string)
src/upgrade/update-check.ts:127
← previousnext →601–700 of 3,841, ranked by callers