MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,088 in github.com/colbymchenry/codegraph

↓ 1 callersMethodgetDistinctNodeNames
One page of distinct segmentable node names, for batched vocab rebuilds * (file basenames and import specifiers are excluded from the vocab — see
src/db/queries.ts:1088
↓ 1 callersMethodgetEdgesWithTypeFrom
* Resolution edges whose answer was read from other files * (`metadata.typeFrom` — python attribute types, see * `resurrectTypeDependentEdges`),
src/db/queries.ts:5686
↓ 1 callersMethodgetEntryPoints
* Get entry points from a subgraph (the root nodes)
src/context/index.ts:1455
↓ 1 callersMethodgetExistingNodeIds
(ids: readonly string[])
src/db/queries.ts:1249
↓ 1 callersMethodgetExploreMissDiagnostics
Bounded miss diagnostics, independent of relevance filters and ranking.
src/db/queries.ts:2169
↓ 1 callersMethodgetExploreSessionState
* This session's explore call history (CG-17). Exposed so tests can assert * that two sessions on one daemon keep separate state; nothing in the se
src/mcp/session.ts:244
↓ 1 callersMethodgetExportedNodesByFile
The exported nodes of a file, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1310
↓ 1 callersMethodgetExportedNodesInFile
`getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file.
src/resolution/types.ts:101
↓ 1 callersMethodgetFailedFolderImports
* Failed imports of the folder the importing file is in or under (`.`, * `..`, `../..`). Their tail is empty, since they name a folder only * th
src/db/queries.ts:5221
↓ 1 callersMethodgetFailedModuleKeys
* The keys failed references wait for a module under (`module:pages`), each * once. Reads only the failed rows parked under such keys: a range of
src/db/queries.ts:5298
↓ 1 callersMethodgetFailedPythonAttrRefKeys
* The failed python attribute-chain refs — one attribute hop * (`self.client.send`) or a call receiver (`make().send`) — in `filePaths`, * as ju
src/db/queries.ts:5750
↓ 1 callersMethodgetFailedReferencesByNames
* The references the resolver gave up on that are written exactly as one of * `names` (`binding.Query`), at most `limit`, in file and line order. O
src/db/queries.ts:3627
↓ 1 callersMethodgetFailedReferencesByTail
* The references named `tail` that the resolver gave up on — `h.ServeHTTP(…)` * through an interface, `x.update()` on a receiver it could not type
src/db/queries.ts:3590
↓ 1 callersMethodgetFailedScopedImports
* The scoped package specifiers (`@excalidraw/common`) of failed imports, * each with one file that wrote it — what a `tsconfig` path or a workspac
src/db/queries.ts:5203
↓ 1 callersMethodgetFileDependencies
* Get dependencies of a file * * Returns all files that this file imports from. * * @param filePath - Path to the file * @returns Array
src/graph/queries.ts:119
↓ 1 callersMethodgetFileNodes
* The `file` nodes for the given paths, in one query. * * A file's own node is what makes a file row navigable, and looking it up * with {@li
src/db/queries.ts:3367
↓ 1 callersMethodgetFileNodesByNamePrefix
File nodes whose basename starts with `prefix`, without a result cap.
src/db/queries.ts:1787
↓ 1 callersMethodgetFilePathsByLanguage
The indexed files of a language.
src/db/parameter-flow-queries.ts:113
↓ 1 callersMethodgetFileReachCounts
* How far each of the given files reaches OUT: distinct other files its * symbols touch, and how many references that is. * * The mirror of {
src/db/queries.ts:3338
↓ 1 callersMethodgetFilesIndexedSince
* Files re-indexed strictly after `since` (ms since epoch), newest first. * * `total` is the real count; `paths` is capped at `limit`. Used by t
src/db/queries.ts:4443
↓ 1 callersMethodgetFilesWithEdgesInto
The files with a resolution edge into one of `targetIds`.
src/db/queries.ts:4097
↓ 1 callersMethodgetFilesWithoutNodesOrWithErrors
* Files stored with no nodes or with recorded extraction errors — the only * rows that can be missing their symbols (`CodeGraph.getIndexHealth`). A
src/db/queries.ts:4399
↓ 1 callersFunctiongetFirstApplyArgument
Innermost argument of a curried apply chain: `f a b` → `a`.
src/extraction/languages/nix.ts:141
↓ 1 callersFunctiongetFlow
(query: string, expected = 200)
__tests__/ui-flow-api.test.ts:71
↓ 1 callersMethodgetFlowCallSites
* What an earlier pass did and left in the index: its edges, and the failed * rows of the guesses it ruled out. Nothing until a pass has written on
src/db/parameter-flow-queries.ts:213
↓ 1 callersFunctiongetFrameworkResolver
(name: string)
src/resolution/frameworks/index.ts:120
↓ 1 callersMethodgetGoModules
* The project's Go modules: the root `go.mod`'s, and the nearest `go.mod` * of every directory holding an indexed `.go` file — so an ignored or
src/resolution/index.ts:908
↓ 1 callersMethodgetImpactRecursive
( nodeId: string, maxDepth: number, currentDepth: number, nodes: Map<string, Node>, edges:
src/graph/traversal.ts:635
↓ 1 callersMethodgetImportBindingsResolvedElsewhere
* The import bindings of `filePaths` that resolved some other way than * through their import — `imports` edges out of each file's node named for
src/db/queries.ts:3869
↓ 1 callersMethodgetImportNodesByNames
The import nodes named one of `names` (an import node is named by the module path it imports).
src/db/queries.ts:4118
↓ 1 callersMethodgetImportTargetsFromFile
The targets, in other files, of the non-synthesized `imports` edges out of the nodes of `filePath`.
src/db/queries.ts:3957
↓ 1 callersMethodgetIndexRevision
* The index's revision marker: how far the last sync got, and how many files * it left behind — one query, both numbers. * * This is the chea
src/db/queries.ts:4427
↓ 1 callersFunctiongetInheritanceAncestors
* Solidity extractor — tree-sitter-solidity (ABI 14). * * Solidity has multiple top-level "contract-like" containers (contract / * interface / libr
src/extraction/languages/solidity.ts:27
↓ 1 callersFunctiongetJson
(instance: Instance, requestPath: string, expected = 200)
__tests__/ui-entrypoints-api.test.ts:75
↓ 1 callersMethodgetLanguagesWithExports
* Which of the given languages the index records an EXPORT marker for. * * A self-measurement, and the honest basis for a whole class of exclusi
src/db/queries.ts:3173
↓ 1 callersMethodgetLineNumber
(offset: number)
src/extraction/mybatis-extractor.ts:302
↓ 1 callersFunctiongetMap
(query = '')
__tests__/ui-map-api.test.ts:70
↓ 1 callersMethodgetMethodsNamed
A language's methods of these names, as outlines.
src/db/parameter-flow-queries.ts:124
↓ 1 callersMethodgetModuleAggregation
* Roll the edge table up to module granularity, for a file → module * assignment the caller decides. * * The architecture map's single query:
src/index.ts:2641
↓ 1 callersMethodgetModuleImportsIntoDeclarationFiles
* The module edges (`imports` edges into a file node) into declaration * files, with the source file and language a resurrection needs: where an
src/db/queries.ts:4034
↓ 1 callersMethodgetModuleImportsNamed
* The module edges (`imports` edges into a file node) into the files an * import of `dir/name` can find instead of a file added there: `dir/name.*`
src/db/queries.ts:4061
↓ 1 callersMethodgetModuleImportsUnder
* The module edges (`imports` edges into a file node) into any file under * the folder `dir` (projectRoot-relative, no trailing slash), with the
src/db/queries.ts:4005
↓ 1 callersMethodgetNodeIdentitiesByFile
* The {@link NodeIdentity} of every node in a file, without decoding whole * nodes. Read before a re-index deletes the file, so each incoming *
src/db/queries.ts:1348
↓ 1 callersMethodgetNodeMetrics
* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
src/index.ts:3321
↓ 1 callersMethodgetNodeNamesByFiles
* Distinct node names present in the given files — the symbol names a sync * pass uses to look up retryable failed refs after those files changed.
src/db/queries.ts:5824
↓ 1 callersMethodgetNodeOutline
One node's outline, with its language.
src/db/parameter-flow-queries.ts:141
↓ 1 callersMethodgetNodeRowsByRowid
Whole node rows for `rowids`, in that order; a rowid no longer present is skipped.
src/db/queries.ts:2633
↓ 1 callersMethodgetNodesByFileAndName
The nodes of a file with one name, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1320
↓ 1 callersMethodgetNodesByNamePrefix
* Nodes whose name starts with `prefix`, by index range scan (a LIKE would * skip idx_nodes_name under SQLite's default case-insensitive LIKE).
src/db/queries.ts:1762
↓ 1 callersMethodgetParsedFileCounts
* For each language, how many files it has and how many yielded a symbol: a * node other than the file's own. More than one stored node settles a r
src/db/queries.ts:5921
↓ 1 callersFunctiongetPendingMigrations
(db: SqliteDatabase)
src/db/migrations.ts:388
↓ 1 callersMethodgetPhpDocumentRootIncludes
* The PHP includes built from `$_SERVER['DOCUMENT_ROOT']` (#3298): the import * nodes the extractors name `prefix` + the path appended to the web r
src/db/queries.ts:1777
↓ 1 callersMethodgetPhpWebRoot
* The folder `$_SERVER['DOCUMENT_ROOT']` names for a PHP include in * `fromFile` (#3298): the project's `codegraph.json` `webRoot`, else the one
src/resolution/types.ts:265
↓ 1 callersMethodgetProjectNameTokens
The normalized project-name tokens (#720); empty if none were derived.
src/db/queries.ts:681
↓ 1 callersMethodgetProjectPath
Project root that the engine resolved on first init (null if none).
src/mcp/engine.ts:201
↓ 1 callersMethodgetPythonFilesWithEdgesInto
* The python files with an edge of one of `kinds` into a node of `filePath` * whose kind is one of `targetKinds` — who subclasses, calls or constru
src/db/queries.ts:5793
↓ 1 callersMethodgetPythonImporterClosure
* The python files whose failed attribute-chain refs (`self.client.send`, * `make().send`) an edit to `filePaths` can affect. Such an answer is rea
src/db/queries.ts:5716
↓ 1 callersMethodgetPythonPackageImporters
Importers of Python packages whose `__init__.py` was edited, with the names they bind (see `pythonPackageImporters`).
src/resolution/index.ts:3585
↓ 1 callersMethodgetPythonReopenScope
What a sync must re-open after these Python files were added or removed (see `pythonReopenScope`).
src/resolution/index.ts:3575
↓ 1 callersMethodgetPythonScriptModuleScope
What a sync must re-open after these Python files were edited (see `pythonScriptModuleScope`).
src/resolution/index.ts:3580
↓ 1 callersFunctiongetRawWriteGlyphs
()
src/ui/glyphs.ts:131
↓ 1 callersMethodgetRazorUsings
* Collect the `@using` namespaces in scope for a `.razor`/`.cshtml` file: its * own `@using` directives plus every `_Imports.razor` from the file's
src/resolution/index.ts:4097
↓ 1 callersMethodgetReExportStatementsByFiles
* The `file\0statement` pairs of the `export … from` statements in * `filePaths` (#2978). Each is an import node named by the module it names, *
src/db/queries.ts:5881
↓ 1 callersMethodgetReachedMethods
A language's methods that a call reaches, as outlines.
src/db/parameter-flow-queries.ts:119
↓ 1 callersMethodgetResolutionEdgesBySourceLanguage
* Every resolution edge leaving a node of `language` — the re-resolution set * when a project-wide input to that language's import resolution chang
src/db/queries.ts:5464
↓ 1 callersMethodgetResolutionEdgesFromFiles
* Resolution edges leaving any node of `files` — the candidates when an * importer's bindings may have moved (a Python package's `__init__.py` *
src/db/queries.ts:5548
↓ 1 callersMethodgetResolutionEdgesTouchingFiles
* Resolution edges leaving a `language` node whose TARGET is in one of * `targetFiles`, or whose SOURCE is under one of `sourceDirs` — the narrow
src/db/queries.ts:5491
↓ 1 callersFunctiongetRootModule
(scopedNode: SyntaxNode)
src/extraction/languages/rust.ts:165
↓ 1 callersMethodgetRouteEdgesMovedBy
* The resolution edges out of route nodes that a change to `filePaths` can * move: from a route in another file, to a node of one of `filePaths`, o
src/db/queries.ts:5427
↓ 1 callersMethodgetRoutingManifest
* Build a URL → handler manifest from the index. Each route node's * `references` edge points at the function/method that handles the * request.
src/db/queries.ts:1535
↓ 1 callersMethodgetScopesInFile
The classes and modules a file declares, as outlines.
src/db/parameter-flow-queries.ts:136
↓ 1 callersMethodgetSettlesToExcel
($stores, $selected, $dayRange, $id)
__tests__/fixtures/php-import-alias-static/app/Services/SettleService.php:5
↓ 1 callersMethodgetSize
* Get database file size in bytes
src/db/index.ts:684
↓ 1 callersFunctiongetStaticImportPath
(argNode: SyntaxNode, source: string)
src/extraction/languages/nix.ts:38
↓ 1 callersFunctiongetStatusAndJson
(requestPath: string)
__tests__/ui-server-api.test.ts:86
↓ 1 callersMethodgetSupertypes
* Direct supertypes of the type named `typeName` (same language): the classes * it extends and the interfaces / protocols / traits it implements/co
src/resolution/types.ts:188
↓ 1 callersFunctiongetSvelteKitRouteInfo
* Check if filename is a SvelteKit route file
src/resolution/frameworks/svelte.ts:262
↓ 1 callersFunctiongetTargets
(file: string)
__tests__/kotlin-lambda-receiver.test.ts:81
↓ 1 callersFunctiongetText
(result: { content: Array<{ type: string; text?: string }>; isError?: boolean })
__tests__/mcp-stale-slice.test.ts:70
↓ 1 callersMethodgetTopCallingFiles
* The graph's executable roots — files that RUN something at module level, * ranked by how much of the project they set in motion. * * The en
src/db/queries.ts:3244
↓ 1 callersMethodgetTopLevelSignaturesMentioning
* The `signature` of each top-level node of these kinds and languages whose * text holds one of `names`. A sync asks this about the definitions it
src/db/queries.ts:1675
↓ 1 callersMethodgetTypeAncestors
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:524
↓ 1 callersMethodgetTypeDescendants
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:549
↓ 1 callersMethodgetTypeHierarchy
* Get the type hierarchy for a class/interface * * @param nodeId - ID of the class/interface node * @returns Subgraph containing the type hie
src/graph/traversal.ts:495
↓ 1 callersFunctiongetUnavailableGrammarErrors
()
src/extraction/grammars.ts:1113
↓ 1 callersMethodgetUnlinkedReferencesNamed
* The references whose last name segment is `name` that the resolver could * not tie to any definition — `h.ServeHTTP(…)` on an interface value,
src/index.ts:2570
↓ 1 callersMethodgetUnlinkedReferencesWritten
* The references the resolver could not tie to a definition that are written * exactly as one of `names` (`binding.Query`), at most `limit`.
src/index.ts:2578
↓ 1 callersMethodgetUnreferencedNodes
* Symbols nothing in the index points at, by kind — the candidate set the * dead code report (`src/graph/dead-code.ts`) applies its exclusions to.
src/index.ts:2504
↓ 1 callersMethodgetUnreferencedNodes
* Symbols nothing in the index points at — the candidate set behind the dead * code list (`src/graph/dead-code.ts`). * * "Points at" is every
src/db/queries.ts:2957
↓ 1 callersMethodgetUnresolvedNamesAmong
* Which of `names` the index holds an UNRESOLVED reference to. * * The point is honesty about our own blind spots. A `failed` row in * `unres
src/db/queries.ts:3002
↓ 1 callersMethodgetUnresolvedReferenceSourcesNamed
* Every node holding an unresolved reference of `kinds` to each of `names` — * the mirror of {@link getUnresolvedReferenceNamesFrom}, keyed by the
src/db/queries.ts:3085
↓ 1 callersMethodgetUnresolvedReferencesBatchAfter
* Keyset variant of {@link getUnresolvedReferencesBatch} for the batched * resolution loop: seek past the last-seen row id instead of OFFSET-walkin
src/db/queries.ts:4677
↓ 1 callersMethodgetUnresolvedReferencesByIds
Unresolved refs by row id.
src/db/queries.ts:5765
↓ 1 callersMethodgetUnresolvedReferencesFromNodes
* {@link getUnresolvedReferencesFrom} for many nodes at once, limited to * `kinds`: a Go type's embeddings of types outside the index, say. Chunked
src/db/queries.ts:3687
↓ 1 callersMethodgetUnresolvedReferencesInFile
* Every unresolved reference recorded in one FILE, ordered by line. * * The per-symbol form above answers "what does this body reach that the
src/db/queries.ts:3563
↓ 1 callersMethodgetUnresolvedSupertypeSourcesAmong
* Which of the given symbols extend or implement a type outside the index — * an ancestor the resolver could not follow, so it has no edge (#1973).
src/index.ts:2541
↓ 1 callersMethodgetUnresolvedSupertypeSourcesAmong
* Which of `nodeIds` extend or implement a type the resolver could not follow. * An ancestor outside the index (`React.Component`, `stream.Transfor
src/db/queries.ts:3041
↓ 1 callersMethodgetUnseenNames
* Which of `names` the index has never seen, by name, path, signature or * docstring — the names explore reports as not in the index (#2462).
src/index.ts:2754
↓ 1 callersMethodgetUnseenNames
* Which of `names` the index has never seen: no node is called that, in any * case, and no indexed name, qualified name, signature or docstring has
src/db/queries.ts:2230
↓ 1 callersFunctiongetValVarName
(node: SyntaxNode, source: string)
src/extraction/languages/scala.ts:5
← previousnext →6,201–6,300 of 13,088, ranked by callers