Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
12,468 in github.com/colbymchenry/codegraph
⨍
Functions
12,468
◇
Types & classes
1,929
↳
Endpoints
1
↓ 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:810
↓ 1 callers
Method
getImpactRecursive
( nodeId: string, maxDepth: number, currentDepth: number, nodes: Map<string, Node>, edges:
src/graph/traversal.ts:636
↓ 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:3758
↓ 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:4007
↓ 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:3846
↓ 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:4316
↓ 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:3139
↓ 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:2571
↓ 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:3923
↓ 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:3950
↓ 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:3894
↓ 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:1346
↓ 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:3248
↓ 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:5713
↓ 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:2617
↓ 1 callers
Method
getNodesByFileAndName
The nodes of a file with one name, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1318
↓ 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:1760
↓ 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:5802
↓ 1 callers
Function
getPendingMigrations
(db: SqliteDatabase)
src/db/migrations.ts:388
↓ 1 callers
Method
getProjectNameTokens
The normalized project-name tokens (#720); empty if none were derived.
src/db/queries.ts:679
↓ 1 callers
Method
getProjectPath
Project root that the engine resolved on first init (null if none).
src/mcp/engine.ts:191
↓ 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:5682
↓ 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:5605
↓ 1 callers
Method
getPythonPackageImporters
Importers of Python packages whose `__init__.py` was edited, with the names they bind (see `pythonPackageImporters`).
src/resolution/index.ts:3397
↓ 1 callers
Method
getPythonReopenScope
What a sync must re-open after these Python files were added or removed (see `pythonReopenScope`).
src/resolution/index.ts:3387
↓ 1 callers
Method
getPythonScriptModuleScope
What a sync must re-open after these Python files were edited (see `pythonScriptModuleScope`).
src/resolution/index.ts:3392
↓ 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:3876
↓ 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:5762
↓ 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:5353
↓ 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:5437
↓ 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:5380
↓ 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:5316
↓ 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:1533
↓ 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
getSuperclassNodes
* 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:201
↓ 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:186
↓ 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:3210
↓ 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:1673
↓ 1 callers
Method
getTypeAncestors
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:525
↓ 1 callers
Method
getTypeDescendants
( nodeId: string, nodes: Map<string, Node>, edges: Edge[], visited: Set<string> )
src/graph/traversal.ts:550
↓ 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:496
↓ 1 callers
Function
getUnavailableGrammarErrors
()
src/extraction/grammars.ts:892
↓ 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:2453
↓ 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:2923
↓ 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:2968
↓ 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:3051
↓ 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:4566
↓ 1 callers
Method
getUnresolvedReferencesByIds
Unresolved refs by row id.
src/db/queries.ts:5654
↓ 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:3583
↓ 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:3529
↓ 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:2490
↓ 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:3007
↓ 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:2684
↓ 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:2214
↓ 1 callers
Function
getValVarName
(node: SyntaxNode, source: string)
src/extraction/languages/scala.ts:5
↓ 1 callers
Method
getWorkspaceDiscovery
The walk the workspace map was last read by (see ManifestDiscovery), or null before any.
src/resolution/index.ts:3318
↓ 1 callers
Method
getWorkspaceFingerprint
The fingerprint of the workspace map this resolver resolves by (see `workspaceFingerprint`).
src/resolution/index.ts:3376
↓ 1 callers
Function
ginMiddlewareChainEdges
(queries: QueryBuilder, ctx: ResolutionContext, onYield: MaybeYield)
src/resolution/callback-synthesizer.ts:3597
↓ 1 callers
Function
git
(...args: string[])
__tests__/sync.test.ts:268
↓ 1 callers
Function
git
(...args: string[])
__tests__/sync-framework-detection.test.ts:136
↓ 1 callers
Function
git
(...args: string[])
__tests__/mcp-status-freshness.test.ts:20
↓ 1 callers
Function
gitCommitAll
(dir: string)
__tests__/dotdot-folder-names.test.ts:50
↓ 1 callers
Function
gitCommittedChangesSince
* NUL-delimited status/path pairs for every path committed * between `sinceCommit` and HEAD. Empty when the stamp IS HEAD, which is the * common cas
src/extraction/index.ts:1693
↓ 1 callers
Function
gitIgnored
What git reports as ignored-untracked, relative to `cwd`.
__tests__/git-ignored-dirs-scope.test.ts:52
↓ 1 callers
Function
gitInit
(dir: string)
__tests__/git-hooks.test.ts:22
↓ 1 callers
Function
gitInit
()
__tests__/include-config.test.ts:125
↓ 1 callers
Function
gitInit
()
__tests__/exclude-config.test.ts:109
↓ 1 callers
Function
gitProject
()
__tests__/mpeg-ts-not-typescript.test.ts:241
↓ 1 callers
Function
gitRepoPrefix
* Where `dir` sits in its git repository: '' at the repository's root, else the * path from the root with a trailing slash (`app/`). Throws when `dir
src/extraction/index.ts:1521
↓ 1 callers
Function
gitSeesNothing
()
__tests__/status-sparse-checkout.test.ts:57
↓ 1 callers
Function
gitStatusRuns
The `git status` runs made since the last clear, as [cwd, args].
__tests__/git-status-subdir-project.test.ts:43
↓ 1 callers
Function
gitToplevelKey
The work tree's top level (as a {@link rootKey}), or null when unknown.
src/sync/git-hooks.ts:104
↓ 1 callers
Function
gitUserName
(projectRoot: string)
src/ui-server/api/trails.ts:467
↓ 1 callers
Function
giveAll
(text: string)
src/resolution/frameworks/drupal.ts:370
↓ 1 callers
Function
glob
Expands one `*` in a path segment, newest match first.
telemetry-dashboard/scripts/render-check.mjs:60
↓ 1 callers
Function
globToRegExp
`internal/gen/**` → /^internal\/gen\/.*$/ . Supports `**`, `*` and literals.
scripts/agent-eval/probe-allocation.mjs:73
↓ 1 callers
Function
globToRegex
* Convert glob pattern to regex
src/bin/codegraph.ts:2064
↓ 1 callers
Method
globToRegex
* Convert glob pattern to regex
src/mcp/tools.ts:8786
↓ 1 callers
Function
globalConfigDir
* Root of the global Claude Code profile. Settings and instructions follow * CLAUDE_CONFIG_DIR; local installs stay anchored to the project (#1627).
src/installer/targets/claude.ts:64
↓ 1 callers
Function
globalTypeMember
* The member of a namespace the project declares global (`Express.User`, an * interface in `declare global { namespace Express { … } }`): a declarati
src/resolution/import-resolver.ts:3084
↓ 1 callers
Function
go
()
__tests__/filelock-stale-takeover.test.ts:92
↓ 1 callers
Function
goAliasTypeNames
(node: SyntaxNode, source: string)
src/extraction/languages/go.ts:124
↓ 1 callers
Function
goAssumedPackageName
* The package name goimports assumes for an import path * (ImportPathToAssumedName): its last element that isn't a major version * (`go.yaml.in/yaml
src/resolution/import-resolver.ts:2397
↓ 1 callers
Function
goBalancedArgs
Balanced `(...)` body starting at the '(' index; null if unbalanced.
src/resolution/callback-synthesizer.ts:3567
← previous
next →
5,901–6,000 of 12,468, ranked by callers