MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,088 in github.com/colbymchenry/codegraph

↓ 9 callersMethodgetPendingFiles
* Files seen by the file watcher since the last successful sync — * the per-file "stale" signal MCP tools attach to responses so an agent * can
src/index.ts:2193
↓ 9 callersMethodgetRetryableFailedReferences
* Failed refs whose name tail matches one of the given symbol names — the * candidates a sync should retry after files carrying those names changed
src/db/queries.ts:5025
↓ 9 callersMethodgetStatus
* Resolution order (first match wins) — keep in sync with TELEMETRY.md: * DO_NOT_TRACK=1 > CODEGRAPH_TELEMETRY=0|1 > stored config > default on.
src/telemetry/index.ts:235
↓ 9 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:4621
↓ 9 callersMethodgetWorkspacePackages
* Monorepo workspace member packages, keyed by declared package name. * Returns `null` for single-package repos (no `workspaces` field). * Lets
src/resolution/types.ts:283
↓ 9 callersMethodinfo
(stream: ReadableStream<Uint8Array>)
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:238
↓ 9 callersMethodinsertUnresolvedRef
* Insert an unresolved reference
src/db/queries.ts:4471
↓ 9 callersFunctionisRoutine
(node: Node)
src/resolution/pascal-scope.ts:339
↓ 9 callersFunctionparseHrefExpression
(expr: string)
src/resolution/frameworks/expo-router.ts:369
↓ 9 callersFunctionplural
(count: number, one: string, many = `${one}s`)
ui/src/lib/symbol-model.ts:535
↓ 9 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/rustlang.rs:235
↓ 9 callersFunctionquery
(params: URLSearchParams)
ui/src/lib/adapter.ts:283
↓ 9 callersMethodreplaceResolutionEdgesWithUnresolvedRefs
( edgeIds: number[], refs: UnresolvedReference[] )
src/db/queries.ts:5808
↓ 9 callersMethodresume
Put a built task on the queue and start it.
__tests__/fixtures/dense-header-ts/src/net/session.ts:264
↓ 9 callersFunctionroutesForFile
( table: RootedRouteTable<T>, filePath: string )
src/resolution/frameworks/expo-router.ts:556
↓ 9 callersFunctionrunMigrations
(db: SqliteDatabase, fromVersion: number)
src/db/migrations.ts:357
↓ 9 callersMethodstatement
(sql: string)
src/db/parameter-flow-queries.ts:106
↓ 9 callersMethodtop_row
(&self)
codegraph-kernel/src/tsjs/mod.rs:356
↓ 9 callersMethodunwatch
* Stop watching for file changes.
src/index.ts:2140
↓ 8 callersFunction$
(root, role)
telemetry-dashboard/public/app.js:118
↓ 8 callersFunction__setLoadCodeGraphForTests
(cls: typeof import('../index').default | null)
src/mcp/tools.ts:26
↓ 8 callersFunctionapplyEdits
* `s` with every `[from, to)` range in `ranges` blanked to spaces, newlines kept, and every `[from, to, word]` in * `words` (which overlap neither ea
src/extraction/languages/pascal-preparse.ts:964
↓ 8 callersMethodat
Line `index`, 0-based, without its newline; undefined past the last.
src/resolution/ruby-parameter-flow.ts:65
↓ 8 callersMethodat
The values of the intervals holding `offset` (open < offset < close), outermost first.
codegraph-kernel/src/ccpp/brace_scopes.rs:45
↓ 8 callersMethodbatch
(statements: SqliteD1Statement[])
__tests__/telemetry-services.test.ts:89
↓ 8 callersFunctionblankLoneMacroLines
(source: string, rules: LoneMacroRules = C_LONE_MACROS)
src/extraction/languages/c-cpp.ts:1470
↓ 8 callersFunctionbody_of
resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
codegraph-kernel/src/tsjs/mod.rs:1182
↓ 8 callersFunctioncompute
(n: number)
__tests__/fixtures/kernel-parity/torture.tsx:45
↓ 8 callersFunctioncppTypeName
The `::` segments of a written type, or null when it is not a plain (possibly qualified) type name.
src/resolution/cpp-type-aliases.ts:87
↓ 8 callersFunctioncppTypeSegments
(raw: string)
src/resolution/cpp-type-aliases.ts:152
↓ 8 callersMethoddrain
()
src/mcp/query-pool.ts:430
↓ 8 callersFunctionesc
(text: string)
ui/src/lib/export-svg.ts:125
↓ 8 callersMethodextractFunction
* Extract a function
src/extraction/tree-sitter.ts:2366
↓ 8 callersMethodextract_function
(&mut self, node: Node<'t>, name_override: Option<String>)
codegraph-kernel/src/tsjs/extractors.rs:29
↓ 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:503
↓ 8 callersFunctionfinish
( peers: ClientHelloPeers, putBack?: Buffer, )
src/mcp/daemon.ts:1134
↓ 8 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:308
↓ 8 callersMethodgetFileDependencies
* Get dependencies of a file * * @param filePath - Path to the file * @returns Array of file paths this file depends on
src/index.ts:3268
↓ 8 callersMethodgetIncomingEdgesTo
* Incoming edges for MANY target nodes in one query — the mirror of * {@link getOutgoingEdgesFrom}. Needed wherever a whole file's inbound edges
src/db/queries.ts:2896
↓ 8 callersMethodgetPath
* Get database file path
src/db/index.ts:634
↓ 8 callersMethodgetProjectRoot
Get project root
src/resolution/types.ts:163
↓ 8 callersFunctionisSpace
(c: number)
src/extraction/languages/pascal-preparse.ts:126
↓ 8 callersFunctionis_word
(b: u8)
codegraph-kernel/src/cfnptr.rs:101
↓ 8 callersFunctionjoin
(from: string, to: string, tail: Tail)
ui/src/lib/program-model.ts:120
↓ 8 callersFunctionlinesOf
(file: string)
src/resolution/ruby-parameter-flow.ts:460
↓ 8 callersFunctionmemoFor
(context: ResolutionContext)
src/resolution/ambient-modules.ts:619
↓ 8 callersFunctionnextRouteForFile
(filePath: string)
src/resolution/frameworks/nextjs.ts:83
↓ 8 callersMethodpostMessage
(msg: unknown)
src/extraction/parse-pool.ts:43
↓ 8 callersFunctionprepareNodeStatement
(db: SqliteDatabase, sql: string)
src/db/queries.ts:284
↓ 8 callersFunctionprojectOf
The project (the directory of the nearest `.vbproj` above it) a file belongs to, or null.
src/resolution/vbnet-receivers.ts:630
↓ 8 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/scala.rs:271
↓ 8 callersFunctionreadFields
(s: string, start: number, end: number)
src/resolution/frameworks/object-literal.ts:78
↓ 8 callersFunctionreferenceNameTail
(referenceName: string, referenceKind?: string)
src/db/reference-tail.ts:40
↓ 8 callersFunctionregister
(f: fn())
__tests__/fixtures/kernel-parity/torture.rs:255
↓ 8 callersFunctionscanCall
(safe: string, open: number)
src/resolution/frameworks/express.ts:391
↓ 8 callersMethodsees
* Can code in `file` see `decl`: its own, what it includes, or a header * beside it in one translation unit? A project's vendored copy of itself
src/resolution/cpp-template-instantiations.ts:761
↓ 8 callersMethodsend
(body: UploadMessageBody, options: { contentType: string })
__tests__/fixtures/ambient-decls-ts/src/lib/queue.ts:27
↓ 8 callersFunctionstaticString
(text: string)
src/resolution/frameworks/angular-router.ts:132
↓ 8 callersFunctionstrip_cpp_template_args
stripCppTemplateArgs (languages/c-cpp.ts): depth-counted removal of every balanced `<…>` group; `<` and `>` never reach the output.
codegraph-kernel/src/ccpp/mod.rs:227
↓ 8 callersMethodterminate
()
src/mcp/query-pool.ts:45
↓ 8 callersMethodtop_row
(&self)
codegraph-kernel/src/rustlang.rs:224
↓ 8 callersMethodtop_row
(&self)
codegraph-kernel/src/dart.rs:360
↓ 8 callersMethodtop_row
(&self)
codegraph-kernel/src/ccpp/mod.rs:512
↓ 8 callersFunctiontreeFor
(absPath: string, language: Language)
src/graph/branch-guards.ts:189
↓ 8 callersFunctiontypesAround
The VB.NET types a line is written inside, innermost first.
src/resolution/vbnet-receivers.ts:423
↓ 7 callersFunctionargumentSpans
The `[start, end)` spans of the arguments of the call whose `(` is at `open`, split at depth-0 commas.
src/resolution/tauri-synthesizer.ts:96
↓ 7 callersMethodblank
(start: number, end: number)
src/resolution/strip-comments.ts:243
↓ 7 callersFunctionblankStringContents
(text: string, regexLiterals?: number[])
src/resolution/strip-comments.ts:40
↓ 7 callersFunctionbuildDefaultIgnore
(rootDir: string)
src/extraction/index.ts:652
↓ 7 callersFunctioncloseParen
The index of the `)` closing the `(` at `open`, or -1.
src/resolution/vbnet-receivers.ts:115
↓ 7 callersFunctionconfigDirFromEnv
(name: string, fallback: string)
src/installer/targets/shared.ts:50
↓ 7 callersFunctioncppParentScope
(qualified: string)
src/resolution/cpp-type-aliases.ts:792
↓ 7 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/rustlang.rs:258
↓ 7 callersFunctiondartPrevNamed
* The named sibling before `node`, past any comments. A Dart member chain is * an identifier followed by sibling selectors, and the grammar keeps a c
src/extraction/languages/dart.ts:152
↓ 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:674
↓ 7 callersFunctiondirectivesOf
(file: string, context: ResolutionContext, memo: Memo)
src/resolution/dart-libraries.ts:407
↓ 7 callersFunctionengine
()
src/lazy-engine.ts:21
↓ 7 callersFunctionescapeRe
(s: string)
src/resolution/tauri-synthesizer.ts:63
↓ 7 callersFunctionescapeRegex
(s: string)
src/resolution/vbnet-receivers.ts:100
↓ 7 callersMethodextract
* Parse and extract from the source code
src/extraction/tree-sitter.ts:1015
↓ 7 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:7403
↓ 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:527
↓ 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:508
↓ 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:650
↓ 7 callersMethodextract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:1024
↓ 7 callersFunctionfindIndexedFile
( cg: CodeGraph, requested: string )
src/ui-server/api/source.ts:70
↓ 7 callersMethodfindRelevantContext
* Find relevant subgraph for a query * * Combines semantic search with graph traversal to find the most * relevant nodes and their relationsh
src/index.ts:3358
↓ 7 callersFunctionfirstArgumentText
( lines: readonly string[], line: number, column: number, method: string )
src/resolution/frameworks/expo-router.ts:421
↓ 7 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:335
↓ 7 callersMethodgetDetectedFrameworks
* Get detected frameworks in the project
src/index.ts:2382
↓ 7 callersFunctiongetExploreOutputBudget
(fileCount: number)
src/mcp/tools.ts:323
↓ 7 callersMethodgetFileDependents
* Get dependents of a file * * @param filePath - Path to the file * @param opts - `skipTiers`: leave out links across a process boundary (a
src/index.ts:3281
↓ 7 callersMethodgetGeneratedPathsAmong
* Which of `filePaths` the index flagged as tool-generated (schema v9+). * * Bounded-lookup by design: every consumer already holds a candidate
src/db/queries.ts:4184
↓ 7 callersFunctiongetGitChangedFiles
(rootDir: string, sinceCommit?: string | null)
src/extraction/index.ts:1649
↓ 7 callersMethodgetIndexState
* Completeness of the last full index run. `'complete'` is the only good * state. `'indexing'` after the fact means a run was killed mid-index (OOM
src/index.ts:2268
↓ 7 callersMethodgetNodesInFileNamed
`getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file.
src/resolution/types.ts:103
↓ 7 callersMethodgetReExports
* Re-exports declared by a file (`export { x } from './other'`, * `export * from './other'`). Empty array when the file has none. * Optional so
src/resolution/types.ts:290
↓ 7 callersFunctionhasCodegraphServer
(file: string)
src/installer/targets/json-config.ts:65
↓ 7 callersMethodhasDefaultCodeGraph
Whether the default project's CodeGraph is open.
src/mcp/engine.ts:211
↓ 7 callersFunctionhasDriftedOnDisk
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:204
← previousnext →301–400 of 13,088, ranked by callers