MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,088 in github.com/colbymchenry/codegraph

↓ 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:315
↓ 2 callersFunctionflag
(name: string)
src/resolution/c-feature-variants.ts:130
↓ 2 callersFunctionflattenMidStatementConditionals
(source: string)
src/extraction/languages/c-cpp.ts:1792
↓ 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.
src/resolution/event-emitter-synthesizer.ts:225
↓ 2 callersFunctionfnPtrFieldOf
(struct: string, field: string)
src/resolution/c-fnptr-synthesizer.ts:873
↓ 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:1336
↓ 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:305
↓ 2 callersFunctionformatGapMarker
( filePath: string, elided: ReadonlyArray<ElidedSymbolRef>, )
src/mcp/tools.ts:1072
↓ 2 callersMethodformatImpact
(symbol: string, impact: Subgraph)
src/mcp/tools.ts:9237
↓ 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:9181
↓ 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:8670
↓ 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:625
↓ 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:2417
↓ 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:2709
↓ 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:3813
↓ 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:1180
↓ 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:5187
↓ 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:2412
↓ 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:3149
↓ 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:4330
↓ 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:2746
↓ 2 callersMethodgetFanOut
* Fan-out (outgoing edge count) for many nodes at once — the mirror of * {@link getFanIn}. See {@link QueryBuilder.countOutgoingEdges}.
src/index.ts:2492
↓ 2 callersMethodgetFileDependencyPairs
* Every ordered pair of files where one reaches into the other. See * {@link QueryBuilder.getCrossFileDependencyPairs}.
src/index.ts:2657
↓ 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:3060
↓ 2 callersFunctiongetGitHeadSha
(rootDir: string)
src/extraction/index.ts:1694
↓ 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:1558
↓ 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 callersMethodgetIndexHealth
* Indexed files whose symbols are missing although their content is current * — rows a content-hash comparison calls up to date (#2336). Reported b
src/index.ts:3069
↓ 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:2218
↓ 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:2445
↓ 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:2729
↓ 2 callersFunctiongetOpencodeServerEntry
()
src/installer/targets/opencode.ts:130
↓ 2 callersMethodgetPendingFiles
* Snapshot of files seen by the watcher since the last successful sync. * * Used by MCP tool responses to mark stale results without blocking on
src/sync/watcher.ts:1214
↓ 2 callersMethodgetPhpWebRootSnapshot
* The web roots PHP's `$_SERVER['DOCUMENT_ROOT']` includes go under now, * for a sync to compare with the index's (#3298; see phpWebRootSnapshot).
src/resolution/index.ts:3559
↓ 2 callersMethodgetPythonRootFingerprint
* Digest of the package roots Python import resolution rests on (see * `pythonRootFingerprint`). Build configs are read from disk rather than *
src/resolution/index.ts:3441
↓ 2 callersMethodgetRecord
What the last pass over a language left for the next sync: null or blank for nothing to go on.
src/db/parameter-flow-queries.ts:268
↓ 2 callersMethodgetRelatedFiles
* Get unique files from a subgraph
src/context/index.ts:1530
↓ 2 callersMethodgetResolutionEdgesByTargetName
* Resolution edges whose TARGET symbol is named one of `names` — the edges a * sync must re-resolve after `names` gained or lost a definition (CG-3
src/db/queries.ts:5359
↓ 2 callersMethodgetResolvedNavigations
* The `navigates` edges a router's resolver made (not a synthesizer's), with * the source file and language a resurrection needs — the navigation c
src/db/queries.ts:5275
↓ 2 callersFunctiongetResolvingFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:161
↓ 2 callersMethodgetRetryableFailedImports
* Failed `imports` refs a sync should retry once files appear. An import * names a file, a folder or a namespace, which the symbol lookup above
src/db/queries.ts:5130
↓ 2 callersFunctiongetSection
(content: string, sectionName: string)
src/resolution/frameworks/cargo-workspace.ts:19
↓ 2 callersMethodgetSegmentNameCounts
How many distinct names each segment appears in — the rarity signal that * separates a discriminative word ("checkout") from a ubiquitous one ("st
src/db/queries.ts:1151
↓ 2 callersMethodgetSuperclassNodes
* The classes one class declaration extends, through its own resolved * `extends` edges alone: the parent a `super.m()` call reaches, never an *
src/resolution/types.ts:203
↓ 2 callersFunctiongetSupportedLanguages
()
src/extraction/grammars.ts:1078
↓ 2 callersMethodgetTopDependedOn
* The nodes with the most DISTINCT dependents, most first. * * "Distinct" is the difference that matters: a helper called forty times from *
src/db/queries.ts:3205
↓ 2 callersMethodgetTopRouteFile
* Find the project's "primary route file" — the file with the densest * concentration of framework-emitted `route` nodes (≥3 routes, ≥30% * of a
src/index.ts:2961
↓ 2 callersMethodgetUnresolvedNamesAmong
* Which of the given names the index holds an unresolved reference to — the * resolver saw the name and could not decide what it meant. A symbol wi
src/index.ts:2533
↓ 2 callersMethodgetUnresolvedReferencesInFile
* The same, for every symbol in a FILE at once, in line order. * * One indexed lookup instead of one per symbol — the whole-file reader needs
src/index.ts:2685
↓ 2 callersFunctiongetVersion
()
src/installer/index.ts:55
↓ 2 callersMethodgetWatcherDegradedReason
The reason live watching degraded, or null if it is healthy (#876).
src/index.ts:2167
↓ 2 callersFunctiongit
(...args: string[])
__tests__/sparse-checkout.test.ts:107
↓ 2 callersFunctiongit
(...args: string[])
__tests__/index-gone-tracked-files.test.ts:29
↓ 2 callersFunctiongit
(...args: string[])
__tests__/git-status-subdir-project.test.ts:29
↓ 2 callersFunctiongit
(cwd: string, args: string[], env: NodeJS.ProcessEnv = process.env)
__tests__/git-status-optional-locks.test.ts:23
← previousnext →2,501–2,600 of 13,088, ranked by callers