Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,088 in github.com/colbymchenry/codegraph
⨍
Functions
13,088
◇
Types & classes
1,975
↳
Endpoints
1
↓ 1 callers
Method
getDistinctNodeNames
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 callers
Method
getEdgesWithTypeFrom
* Resolution edges whose answer was read from other files * (`metadata.typeFrom` — python attribute types, see * `resurrectTypeDependentEdges`),
src/db/queries.ts:5686
↓ 1 callers
Method
getEntryPoints
* Get entry points from a subgraph (the root nodes)
src/context/index.ts:1455
↓ 1 callers
Method
getExistingNodeIds
(ids: readonly string[])
src/db/queries.ts:1249
↓ 1 callers
Method
getExploreMissDiagnostics
Bounded miss diagnostics, independent of relevance filters and ranking.
src/db/queries.ts:2169
↓ 1 callers
Method
getExploreSessionState
* 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 callers
Method
getExportedNodesByFile
The exported nodes of a file, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1310
↓ 1 callers
Method
getExportedNodesInFile
`getNodesInFile(f).filter(n => n.isExported)`, without decoding the rest of the file.
src/resolution/types.ts:101
↓ 1 callers
Method
getFailedFolderImports
* 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 callers
Method
getFailedModuleKeys
* 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 callers
Method
getFailedPythonAttrRefKeys
* 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 callers
Method
getFailedReferencesByNames
* 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 callers
Method
getFailedReferencesByTail
* 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 callers
Method
getFailedScopedImports
* 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 callers
Method
getFileDependencies
* 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 callers
Method
getFileNodes
* 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 callers
Method
getFileNodesByNamePrefix
File nodes whose basename starts with `prefix`, without a result cap.
src/db/queries.ts:1787
↓ 1 callers
Method
getFilePathsByLanguage
The indexed files of a language.
src/db/parameter-flow-queries.ts:113
↓ 1 callers
Method
getFileReachCounts
* 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 callers
Method
getFilesIndexedSince
* 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 callers
Method
getFilesWithEdgesInto
The files with a resolution edge into one of `targetIds`.
src/db/queries.ts:4097
↓ 1 callers
Method
getFilesWithoutNodesOrWithErrors
* 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 callers
Function
getFirstApplyArgument
Innermost argument of a curried apply chain: `f a b` → `a`.
src/extraction/languages/nix.ts:141
↓ 1 callers
Function
getFlow
(query: string, expected = 200)
__tests__/ui-flow-api.test.ts:71
↓ 1 callers
Method
getFlowCallSites
* 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 callers
Function
getFrameworkResolver
(name: string)
src/resolution/frameworks/index.ts:120
↓ 1 callers
Method
getGoModules
* 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 callers
Method
getImpactRecursive
( nodeId: string, maxDepth: number, currentDepth: number, nodes: Map<string, Node>, edges:
src/graph/traversal.ts:635
↓ 1 callers
Method
getImportBindingsResolvedElsewhere
* 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 callers
Method
getImportNodesByNames
The import nodes named one of `names` (an import node is named by the module path it imports).
src/db/queries.ts:4118
↓ 1 callers
Method
getImportTargetsFromFile
The targets, in other files, of the non-synthesized `imports` edges out of the nodes of `filePath`.
src/db/queries.ts:3957
↓ 1 callers
Method
getIndexRevision
* 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 callers
Function
getInheritanceAncestors
* 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 callers
Function
getJson
(instance: Instance, requestPath: string, expected = 200)
__tests__/ui-entrypoints-api.test.ts:75
↓ 1 callers
Method
getLanguagesWithExports
* 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 callers
Method
getLineNumber
(offset: number)
src/extraction/mybatis-extractor.ts:302
↓ 1 callers
Function
getMap
(query = '')
__tests__/ui-map-api.test.ts:70
↓ 1 callers
Method
getMethodsNamed
A language's methods of these names, as outlines.
src/db/parameter-flow-queries.ts:124
↓ 1 callers
Method
getModuleAggregation
* 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 callers
Method
getModuleImportsIntoDeclarationFiles
* 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 callers
Method
getModuleImportsNamed
* 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 callers
Method
getModuleImportsUnder
* 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 callers
Method
getNodeIdentitiesByFile
* 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 callers
Method
getNodeMetrics
* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
src/index.ts:3321
↓ 1 callers
Method
getNodeNamesByFiles
* 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 callers
Method
getNodeOutline
One node's outline, with its language.
src/db/parameter-flow-queries.ts:141
↓ 1 callers
Method
getNodeRowsByRowid
Whole node rows for `rowids`, in that order; a rowid no longer present is skipped.
src/db/queries.ts:2633
↓ 1 callers
Method
getNodesByFileAndName
The nodes of a file with one name, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1320
↓ 1 callers
Method
getNodesByNamePrefix
* 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 callers
Method
getParsedFileCounts
* 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 callers
Function
getPendingMigrations
(db: SqliteDatabase)
src/db/migrations.ts:388
↓ 1 callers
Method
getPhpDocumentRootIncludes
* 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 callers
Method
getPhpWebRoot
* 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 callers
Method
getProjectNameTokens
The normalized project-name tokens (#720); empty if none were derived.
src/db/queries.ts:681
↓ 1 callers
Method
getProjectPath
Project root that the engine resolved on first init (null if none).
src/mcp/engine.ts:201
↓ 1 callers
Method
getPythonFilesWithEdgesInto
* 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 callers
Method
getPythonImporterClosure
* 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 callers
Method
getPythonPackageImporters
Importers of Python packages whose `__init__.py` was edited, with the names they bind (see `pythonPackageImporters`).
src/resolution/index.ts:3585
↓ 1 callers
Method
getPythonReopenScope
What a sync must re-open after these Python files were added or removed (see `pythonReopenScope`).
src/resolution/index.ts:3575
↓ 1 callers
Method
getPythonScriptModuleScope
What a sync must re-open after these Python files were edited (see `pythonScriptModuleScope`).
src/resolution/index.ts:3580
↓ 1 callers
Function
getRawWriteGlyphs
()
src/ui/glyphs.ts:131
↓ 1 callers
Method
getRazorUsings
* 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 callers
Method
getReExportStatementsByFiles
* 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 callers
Method
getReachedMethods
A language's methods that a call reaches, as outlines.
src/db/parameter-flow-queries.ts:119
↓ 1 callers
Method
getResolutionEdgesBySourceLanguage
* 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 callers
Method
getResolutionEdgesFromFiles
* 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 callers
Method
getResolutionEdgesTouchingFiles
* 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 callers
Function
getRootModule
(scopedNode: SyntaxNode)
src/extraction/languages/rust.ts:165
↓ 1 callers
Method
getRouteEdgesMovedBy
* 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 callers
Method
getRoutingManifest
* 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 callers
Method
getScopesInFile
The classes and modules a file declares, as outlines.
src/db/parameter-flow-queries.ts:136
↓ 1 callers
Method
getSettlesToExcel
($stores, $selected, $dayRange, $id)
__tests__/fixtures/php-import-alias-static/app/Services/SettleService.php:5
↓ 1 callers
Method
getSize
* Get database file size in bytes
src/db/index.ts:684
↓ 1 callers
Function
getStaticImportPath
(argNode: SyntaxNode, source: string)
src/extraction/languages/nix.ts:38
↓ 1 callers
Function
getStatusAndJson
(requestPath: string)
__tests__/ui-server-api.test.ts:86
↓ 1 callers
Method
getSupertypes
* 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 callers
Function
getSvelteKitRouteInfo
* Check if filename is a SvelteKit route file
src/resolution/frameworks/svelte.ts:262
↓ 1 callers
Function
getTargets
(file: string)
__tests__/kotlin-lambda-receiver.test.ts:81
↓ 1 callers
Function
getText
(result: { content: Array<{ type: string; text?: string }>; isError?: boolean })
__tests__/mcp-stale-slice.test.ts:70
↓ 1 callers
Method
getTopCallingFiles
* 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 callers
Method
getTopLevelSignaturesMentioning
* 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 callers
Method
getTypeAncestors
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:524
↓ 1 callers
Method
getTypeDescendants
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:549
↓ 1 callers
Method
getTypeHierarchy
* 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 callers
Function
getUnavailableGrammarErrors
()
src/extraction/grammars.ts:1113
↓ 1 callers
Method
getUnlinkedReferencesNamed
* 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 callers
Method
getUnlinkedReferencesWritten
* 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 callers
Method
getUnreferencedNodes
* 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 callers
Method
getUnreferencedNodes
* 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 callers
Method
getUnresolvedNamesAmong
* 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 callers
Method
getUnresolvedReferenceSourcesNamed
* 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 callers
Method
getUnresolvedReferencesBatchAfter
* 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 callers
Method
getUnresolvedReferencesByIds
Unresolved refs by row id.
src/db/queries.ts:5765
↓ 1 callers
Method
getUnresolvedReferencesFromNodes
* {@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 callers
Method
getUnresolvedReferencesInFile
* 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 callers
Method
getUnresolvedSupertypeSourcesAmong
* 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 callers
Method
getUnresolvedSupertypeSourcesAmong
* 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 callers
Method
getUnseenNames
* 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 callers
Method
getUnseenNames
* 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 callers
Function
getValVarName
(node: SyntaxNode, source: string)
src/extraction/languages/scala.ts:5
← previous
next →
6,201–6,300 of 13,088, ranked by callers