MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,683 in github.com/colbymchenry/codegraph

↓ 2 callersMethodfindRelevantContext
* Find relevant subgraph for a query * * Uses hybrid search combining exact symbol lookup with semantic search: * 1. Extract potential symbol
src/context/index.ts:500
↓ 2 callersFunctionfindResponse
(stdout: string[], id: number)
__tests__/daemon-older-version.test.ts:357
↓ 2 callersFunctionfindStringLit
First string_lit anywhere under an expression (source = "./modules/x").
src/extraction/languages/terraform.ts:392
↓ 2 callersMethodfindUsages
* Find all usages of a symbol * * Returns all nodes that reference the specified symbol through * any edge type (calls, references, type_of,
src/index.ts:3205
↓ 2 callersFunctionfind_anonymous_class_body
(node: Node)
codegraph-kernel/src/java.rs:1667
↓ 2 callersFunctionfind_anonymous_class_body
(node: Node)
codegraph-kernel/src/csharp.rs:1719
↓ 2 callersFunctionfind_anonymous_class_body
(node: Node)
codegraph-kernel/src/php.rs:1760
↓ 2 callersMethodfind_child_by_kind
(&self, node: Node<'t>, kind: &str)
codegraph-kernel/src/ccpp/mod.rs:1560
↓ 2 callersFunctionfind_declarator_qualified_id
findDeclaratorQualifiedId (languages/c-cpp.ts:13): BFS for the declarator's `qualified_identifier`, skipping the parts that hold types or expressions
codegraph-kernel/src/ccpp/mod.rs:2595
↓ 2 callersFunctionfinish
(proven: boolean)
src/mcp/hook-client.ts:122
↓ 2 callersMethodfinish
(row?: Record<string, number> | null)
src/db/index.ts:844
↓ 2 callersMethodfinishGitIndexState
(snapshot: { head: string; stamp: string; dirty: string[] | null; sparse: string }, full: boolean, retries: st
src/extraction/index.ts:4397
↓ 2 callersFunctionfiredByEffect
(fnId: string, at: { line?: number; column?: number }, of: string)
src/ui-server/api/steps.ts:732
↓ 2 callersFunctionfirst
(found: Node[])
src/resolution/ruby-parameter-flow.ts:704
↓ 2 callersMethodfirst
()
__tests__/fixtures/kernel-parity/TortureRecord.java:27
↓ 2 callersFunctionfirstArgument
The first string an attribute's arguments open with, by position or as `name:`.
src/resolution/frameworks/drupal.ts:523
↓ 2 callersFunctionfirstIndexOfEach
(text: string, names: Iterable<string>)
src/resolution/synth-utils.ts:183
↓ 2 callersFunctionfirstLine
(relation: WireRelation)
src/ui-server/api/wire.ts:312
↓ 2 callersFunctionfirstLiteral
The first string literal anywhere in a decorator's arguments (`'x'`, `{ name: 'x' }`).
src/resolution/tier-synthesizer.ts:177
↓ 2 callersFunctionfirstSimpleIdentifier
First `simple_identifier` in `node`'s subtree (breadth-ish, first-found). * Swift's property name nests as `property_declaration → <name> pattern →
src/extraction/tree-sitter.ts:296
↓ 2 callersFunctionfirst_simple_identifier
firstSimpleIdentifier (tree-sitter.ts:261): BFS (FIFO), at most 40 nodes popped, first `simple_identifier` wins.
codegraph-kernel/src/swift.rs:313
↓ 2 callersFunctionfit
(room: number, noteCandidates: string[][], noteYields: boolean)
__tests__/explore-completeness-note.test.ts:201
↓ 2 callersFunctionfitPointers
(space: number)
src/mcp/tools.ts:1580
↓ 2 callersFunctionfitsPath
* Does a type's qualified name fit the path a site wrote? A type declared in * `extension API.PackageController.GetRoute` is `GetRoute::Model`, so it
src/resolution/swift-type-visibility.ts:316
↓ 2 callersFunctionflag
(name: string)
src/resolution/c-feature-variants.ts:130
↓ 2 callersFunctionflattenMidStatementConditionals
(source: string)
src/extraction/languages/c-cpp.ts:1793
↓ 2 callersFunctionflowEdgeLabel
(edge: Edge, upward: boolean)
src/ui-server/api/flow.ts:313
↓ 2 callersFunctionflowKeyName
(key: string)
src/resolution/parameter-flow.ts:472
↓ 2 callersFunctionflowTokens
(query: string)
src/graph/named-symbol-flow.ts:267
↓ 2 callersFunctionflush
()
src/mcp/explore-diagnostics.ts:660
↓ 2 callersFunctionfmtTok
(t)
scripts/agent-eval/parse-bench-readme.mjs:73
↓ 2 callersFunctionfn
(name: string)
__tests__/kotlin-modifier-named-calls.test.ts:167
↓ 2 callersFunctionfn
(name: string)
__tests__/php-web-root-includes.test.ts:59
↓ 2 callersFunctionfn
(name: string, file: string)
__tests__/call-receiver-no-fabrication.test.ts:49
↓ 2 callersFunctionfnChain
* The function/method nodes whose lines contain `line`, innermost first. Kept * for each line asked about: every call on a line has the same answer,
src/resolution/event-emitter-synthesizer.ts:285
↓ 2 callersFunctionfnPtrFieldOf
(struct: string, field: string)
src/resolution/c-fnptr-synthesizer.ts:873
↓ 2 callersFunctionfnRefsOf
(env: Env, sourceId: string)
src/resolution/event-emitter-synthesizer.ts:464
↓ 2 callersFunctionfnptr_paren_tail
`\(\s*(?:\w+\s+)*\*\s*(\w+)\s*\)\s*\(` matched at `open` (which must hold `(`). Returns (name_range, end_after_second_paren). The `(?:\w+\s+)*` group
codegraph-kernel/src/cfnptr.rs:305
↓ 2 callersFunctionfolderOf
(file: string)
src/resolution/php-web-root.ts:34
↓ 2 callersFunctionfollowUpName
* The name the completeness note offers for an elided symbol: `Owner.member` * for a method, so an overloaded name resolves to the definition that wa
src/mcp/tools.ts:1453
↓ 2 callersFunctionfooCalledBy
Where `bar`'s call to `foo` lands: `<file>::<qualified name>`, or nothing.
__tests__/sync-barrel-retarget.test.ts:75
↓ 2 callersFunctionformatBackReference
( filePath: string, covered: ReadonlyArray<ExploreLineRange>, symbols: ReadonlyArray<string>, opts: {
src/mcp/explore-dedup.ts:219
↓ 2 callersFunctionformatBytes
(bytes: number)
ui/src/lib/file-model.ts:174
↓ 2 callersFunctionformatDuration
* Format duration in milliseconds to human readable
src/bin/codegraph.ts:307
↓ 2 callersFunctionformatGapMarker
( filePath: string, elided: ReadonlyArray<ElidedSymbolRef>, )
src/mcp/tools.ts:1189
↓ 2 callersMethodformatImpact
(symbol: string, impact: Subgraph)
src/mcp/tools.ts:9512
↓ 2 callersFunctionformatIndexBuildVersion
(build: IndexBuildInfo)
src/mcp/index-version-warning.ts:30
↓ 2 callersMethodformatNodeList
( nodes: Node[], title: string, labels?: Map<string, string>, locations?: Map<string, string>,
src/mcp/tools.ts:9456
↓ 2 callersFunctionformatRunningVersion
()
src/mcp/index-version-warning.ts:37
↓ 2 callersFunctionformatSufficiency
(s, indent = ' ')
scripts/agent-eval/parse-run.mjs:925
↓ 2 callersMethodformatTrail
* Build the "trail" for a symbol: its direct callees (what it calls) and * callers (what calls it), each with file:line — so codegraph_node doubles
src/mcp/tools.ts:8945
↓ 2 callersFunctionformatUpdateNotice
(current: string, latest: string)
src/upgrade/update-check.ts:134
↓ 2 callersFunctionformatUptime
(ms: number)
src/mcp/daemon-manager.ts:23
↓ 2 callersFunctionframeworks
()
src/extraction/lazy-frameworks.ts:18
↓ 2 callersMethodframeworksFor
The detected frameworks whose `resolve()` reads a reference written in `language`.
src/resolution/index.ts:636
↓ 2 callersMethodframeworksForFile
* The detected frameworks whose extractors apply to `filePath`: all of them, * except one with `appDependencies` when neither the file's package.js
src/extraction/index.ts:2551
↓ 2 callersFunctionfreshEdges
()
__tests__/python-module-resolution.test.ts:1105
↓ 2 callersFunctionfreshGraphOf
(files: Files)
__tests__/sync-python-import-binding-retry.test.ts:215
↓ 2 callersMethodfreshen
* Heal a long-lived connection whose `.codegraph/` was removed and recreated * at the same path (a worktree recreated, or `rm -rf .codegraph` + re-
src/mcp/tools.ts:2868
↓ 2 callersFunctionfrom
(name: string)
__tests__/expo-modules.test.ts:266
↓ 2 callersMethodfunctionReturnedObject
* The object literal a function expression returns — either the `=> ({...})` * arrow form (a parenthesized_expression wrapping an object) or a *
src/extraction/tree-sitter.ts:3871
↓ 2 callersMethodfunctionTemplate
(node: Node, parameters: readonly CppTemplateParameter[])
src/resolution/cpp-template-instantiations.ts:495
↓ 2 callersMethodfunction_returned_object
(&self, fn_node: Node<'t>)
codegraph-kernel/src/tsjs/extractors.rs:1220
↓ 2 callersMethodgateFrameworkLanguage
* Framework calls carry bridge evidence (RN/Expo JS → native). Other * framework results obey the same code-family boundary as name matches; * m
src/resolution/index.ts:5266
↓ 2 callersFunctiongenerated
`file:name` of every node `generate` calls or instantiates.
__tests__/default-export-declaration.test.ts:423
↓ 2 callersMethodget
(...params: any[])
src/db/sqlite-adapter.ts:19
↓ 2 callersMethodgetAdjacentEdges
* Get adjacent edges based on direction
src/graph/traversal.ts:264
↓ 2 callersMethodgetAllNodeNames
* Get all distinct node names (lightweight — just name strings for pre-filtering)
src/db/queries.ts:4719
↓ 2 callersFunctiongetApplicableFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:141
↓ 2 callersMethodgetBackend
* Active SQLite backend for this project's connection (`node-sqlite` — Node's * built-in real-SQLite module). Surfaced via `codegraph status` and t
src/index.ts:2437
↓ 2 callersMethodgetBackend
* Get the SQLite backend serving this connection. Per-instance so * MCP cross-project queries report the right backend even when * multiple proj
src/db/index.ts:627
↓ 2 callersMethodgetCallGraph
* Get the call graph for a function * * Returns both callers (functions that call this function) and * callees (functions called by this func
src/index.ts:3179
↓ 2 callersMethodgetCallSites
* Direct callers or callees of a function/method, each with every site that * joins them, the symbol itself included when it calls itself * *
src/index.ts:3239
↓ 2 callersFunctiongetCalls
(g: CodeGraph, qualifiedName: string)
__tests__/python-typed-builtin-method-calls.test.ts:439
↓ 2 callersFunctiongetCargoWorkspaceCrateMap
(context: ResolutionContext)
src/resolution/frameworks/cargo-workspace.ts:248
↓ 2 callersMethodgetChangeStamp
* A value that differs whenever the database content may have changed * since the last call, whoever changed it: `total_changes()` counts the *
src/db/queries.ts:1435
↓ 2 callersMethodgetChangedFiles
* Get files that have changed since last index. * Uses git status as a fast path when available, falling back to full scan.
src/extraction/index.ts:4464
↓ 2 callersFunctiongetClaudeMcpServerConfig
* The shared stdio entry plus `alwaysLoad: true`, Claude Code's exemption from * tool-search deferral (https://code.claude.com/docs/en/mcp#exempt-a-s
src/installer/targets/claude.ts:56
↓ 2 callersMethodgetCppIncludeNodes
* The import node of every C / C++ `#include`, narrowed to the path it * spells and where it is written: what ./cpp-includers builds the include
src/resolution/types.ts:319
↓ 2 callersMethodgetDegradedReason
The reason live watching degraded, or null if it is healthy.
src/sync/watcher.ts:901
↓ 2 callersMethodgetDeprioritizedPathMatcher
The `deprioritize` predicate (#982), so other rankers apply the same lever.
src/db/queries.ts:696
↓ 2 callersMethodgetDeprioritizedPathSnapshot
* The `deprioritize` predicate with the project's patterns read once, for a * loop that asks about many paths. The plain predicate re-checks * `
src/db/queries.ts:706
↓ 2 callersMethodgetDistinctFileLanguages
* Distinct languages present in the files table. One indexed aggregate — * lets the dynamic-edge synthesizers skip passes for languages the project
src/db/queries.ts:1718
↓ 2 callersMethodgetExploreMissDiagnostics
Lexical evidence for an empty explore result; does not alter retrieval.
src/index.ts:2771
↓ 2 callersMethodgetFanOut
* Fan-out (outgoing edge count) for many nodes at once — the mirror of * {@link getFanIn}. See {@link QueryBuilder.countOutgoingEdges}.
src/index.ts:2517
↓ 2 callersMethodgetFileDependencyPairs
* Every ordered pair of files where one reaches into the other. See * {@link QueryBuilder.getCrossFileDependencyPairs}.
src/index.ts:2682
↓ 2 callersMethodgetFileDependentCounts
* How many OTHER files depend on each of the given files. * * Counted through the symbols, not the file nodes: an `imports` edge points * at
src/db/queries.ts:3311
↓ 2 callersMethodgetFileImportPairs
* Every ordered pair of files where one imports the other, once each: the * graph circular imports are read from. See `src/graph/file-cycles.ts`.
src/db/queries.ts:3536
↓ 2 callersMethodgetFlowFacts
* What a file holds that a flow reads: see FlowFacts. A call that failed counts * as much as one that resolved, so it reads the same whichever way
src/db/parameter-flow-queries.ts:160
↓ 2 callersMethodgetGeneratedFileCount
How many indexed files are flagged tool-generated. Reported by `status`.
src/index.ts:3085
↓ 2 callersFunctiongetGitHeadSha
(rootDir: string)
src/extraction/index.ts:1807
↓ 2 callersFunctiongetGitVisibleFiles
* Get all files visible to git (tracked + untracked but not ignored). * Respects .gitignore at all levels (root, subdirectories) and descends into *
src/extraction/index.ts:1671
↓ 2 callersMethodgetIncomingEdgesExceptContains
* Incoming edges to a node except `contains`: the edges that make their * source depend on the target, in {@link getIncomingEdges} order. * *
src/db/queries.ts:2795
↓ 2 callersFunctiongetJson
* Payloads are read as `any` on purpose: these tests assert the JSON contract * the viewer sees over the wire, so typing them against the server's ow
__tests__/ui-server-api.test.ts:80
↓ 2 callersMethodgetLastIndexedAt
* Most recent index timestamp (ms since epoch) across all tracked files, or * null when nothing is indexed yet. Lets library consumers check index
src/index.ts:2240
↓ 2 callersMethodgetMaxEdgeId
The highest edge id so far: edges inserted later have higher ids (AUTOINCREMENT).
src/db/queries.ts:5324
↓ 2 callersMethodgetNamesForSegment
Names containing the given segment (rare-single-word tier).
src/db/queries.ts:1164
↓ 2 callersMethodgetNodeNamePairsByFiles
* Distinct `file\0name` pairs defined by the given files — the shape sync's * definition delta needs (CG-33). * * Deliberately NOT `getNodeNa
src/db/queries.ts:5851
↓ 2 callersMethodgetNodesByIds
* Get many nodes by id in ONE round-trip (LRU-cache aware). * * The batch form of {@link getNode}. Anything resolving a list of edges to * th
src/index.ts:2470
↓ 2 callersMethodgetNodesByNameSubstring
* Nodes whose name CONTAINS `substring` (LIKE scan, ASCII-case-insensitive, * shortest-first). The camel-infix lookup FTS can't do — `profileInfo`
src/index.ts:2754
← previousnext →2,601–2,700 of 13,683, ranked by callers