MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,683 in github.com/colbymchenry/codegraph

↓ 1 callersMethodgetCallersRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:317
↓ 1 callersMethodgetCargoCrates
* The crates of the project's Cargo workspace, each spelling of a name → * its member's directory. Optional so minimal contexts compile; they read
src/resolution/types.ts:312
↓ 1 callersMethodgetChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/index.ts:3288
↓ 1 callersMethodgetCobolFilesByStem
(member: string)
src/graph/cobol-copybooks.ts:35
↓ 1 callersMethodgetCobolIncludesByMember
(member: string, limit: number)
src/graph/cobol-copybooks.ts:34
↓ 1 callersFunctiongetCode
(file: string, expected = 200)
__tests__/ui-filecode-api.test.ts:63
↓ 1 callersMethodgetCode
* Get the source code for a node * * Reads the file and extracts the code between startLine and endLine. * * @param nodeId - ID of the nod
src/context/index.ts:1419
↓ 1 callersFunctiongetCodeGraphPermissions
()
src/installer/targets/shared.ts:72
↓ 1 callersMethodgetCoveredRanges
* Line ranges (0-indexed, inclusive) the template scans must skip: * the frontmatter block and <script>/<style> blocks.
src/extraction/astro-extractor.ts:224
↓ 1 callersMethodgetCppIncludeDirs
* C/C++ include search directories (relative to project root), * extracted from compile_commands.json or discovered by heuristic. * Used by reso
src/resolution/types.ts:306
↓ 1 callersMethodgetCppIncludeEdges
The `#include`s of C and C++ files the graph holds: the file writing each, and the indexed file it names.
src/db/queries.ts:4574
↓ 1 callersMethodgetCrossFileDependencyPairs
* Every ordered pair of files where one reaches into the other, once each. * * `contains` is excluded (a file "contains" its own symbols, which
src/db/queries.ts:3512
↓ 1 callersFunctiongetCurriedParamsAndBody
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:89
↓ 1 callersMethodgetDaemonSocket
Probe (replacing a daemon of an older release, #2335) → spawn → retry → * hello-verify; resolves a connected daemon socket, or null when the daemo
src/mcp/proxy.ts:237
↓ 1 callersFunctiongetDeadCode
(query = '')
__tests__/dead-code.test.ts:80
↓ 1 callersMethodgetDependencyFilePaths
* Distinct file paths that `filePath` DEPENDS ON — the inverse of * {@link getDependentFilePaths}: every file containing a symbol that a * symbo
src/db/queries.ts:3779
↓ 1 callersMethodgetDependentFilePaths
* Distinct file paths that DEPEND ON `filePath`: every file containing a * symbol with a cross-file edge (any kind except `contains`) into a symbol
src/db/queries.ts:3760
↓ 1 callersMethodgetDetectedFrameworkNames
The frameworks extraction last detected, or null before any detection.
src/extraction/index.ts:2613
↓ 1 callersFunctiongetDirectCalleeName
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:24
↓ 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:1464
↓ 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:921
↓ 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:2666
↓ 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:3351
↓ 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:3658
↓ 1 callersMethodgetPythonReopenScope
What a sync must re-open after these Python files were added or removed (see `pythonReopenScope`).
src/resolution/index.ts:3648
↓ 1 callersMethodgetPythonScriptModuleScope
What a sync must re-open after these Python files were edited (see `pythonScriptModuleScope`).
src/resolution/index.ts:3653
↓ 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:4178
↓ 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:163
↓ 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
← previousnext →6,501–6,600 of 13,683, ranked by callers