Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,347 in github.com/colbymchenry/codegraph
⨍
Functions
13,347
◇
Types & classes
1,990
↳
Endpoints
1
↓ 1 callers
Function
gapClass
The class for the non-identifier remainder of a run.
src/ui-server/highlight/index.ts:348
↓ 1 callers
Function
gate
(outcome: string)
src/bin/codegraph.ts:1793
↓ 1 callers
Function
gateDartLocal
(resolved: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/dart-local-scope.ts:54
↓ 1 callers
Function
gatePascalCall
(result: ResolvedRef, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/pascal-scope.ts:311
↓ 1 callers
Function
gatePascalDataCall
See gatePascalCall: a call resolved to data.
src/resolution/pascal-scope.ts:681
↓ 1 callers
Function
gatePascalNestedTarget
* A Pascal call another strategy resolved to a routine nested in some other * routine, which nothing outside that routine can call: a bare name is th
src/resolution/pascal-scope.ts:979
↓ 1 callers
Method
gateRustScope
* A bare Rust name reaches only what is in scope — every strategy's result, * a framework resolver's `Ok(x)` → `struct Ok` construction included (s
src/resolution/index.ts:4751
↓ 1 callers
Method
gateSuperSelfCall
* `super.didMoveToWindow()` inside an override of `didMoveToWindow` calls * the PARENT's implementation, never the method making the call. Extracti
src/resolution/index.ts:4727
↓ 1 callers
Function
gateSwiftTypeTarget
(result: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/swift-type-visibility.ts:393
↓ 1 callers
Method
gateTargetKind
* Drop a resolution whose target cannot be what the reference names. * Applied at the `resolveOne` seam so it covers every strategy uniformly —
src/resolution/index.ts:4627
↓ 1 callers
Function
gateTypeParameter
(resolved: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/type-parameters.ts:51
↓ 1 callers
Function
gce
(options: string)
__tests__/go-func-field-dispatch.test.ts:399
↓ 1 callers
Method
generateSummary
* Generate a summary of the context
src/context/index.ts:1541
↓ 1 callers
Function
generateSyntheticProject
* Generate a synthetic TypeScript project with the given module count. * Each module exports a function that calls the previous module's * function
__tests__/integration/full-pipeline.test.ts:40
↓ 1 callers
Function
generatedShare
()
__tests__/explore-allocation-1500.test.ts:204
↓ 1 callers
Function
generic_angle_re
()
codegraph-kernel/src/go.rs:41
↓ 1 callers
Function
generic_angle_re
JS `/<[^>]*>/g` — the non-nested generic strip (breaks on nested generics by design: `Result<Vec<Foo>, E>` → `Result, E>` → returnType undefined).
codegraph-kernel/src/rustlang.rs:63
↓ 1 callers
Function
generic_args_re
()
codegraph-kernel/src/java.rs:67
↓ 1 callers
Function
generic_args_re
getReturnType's generics strip (`/<[^>]*>/g`) — non-nesting (rust-class quirk).
codegraph-kernel/src/swift.rs:90
↓ 1 callers
Function
generic_args_re
extractCsharpReturnType's generics strip (`/<[^>]*>/g`) — deliberately non-nesting: `Task<List<Foo>>` → `Task>` → the ident test fails → returnType un
codegraph-kernel/src/csharp.rs:68
↓ 1 callers
Function
get
(n)
scripts/agent-eval/offload-eval-metrics.mjs:74
↓ 1 callers
Function
get
GET a path from a running viewer, with a valid loopback Host.
__tests__/cli-ui-command.test.ts:51
↓ 1 callers
Function
get
(key)
__tests__/fixtures/ambient-decls-ts/src/lib/bucket.ts:30
↓ 1 callers
Method
getAllFiles
* Get all tracked files
src/db/queries.ts:4386
↓ 1 callers
Method
getAmbientDeclarationPathsAmong
* Which of `filePaths` are AMBIENT DECLARATION files — they declare nothing * but types, and nothing in the index depends on them (CG-28). A hand-w
src/db/queries.ts:4268
↓ 1 callers
Method
getAmbiguousReferencedNames
* Which of `names` are carried by MORE THAN ONE symbol, at least one of which * something points at. * * The false positive this exists to ki
src/db/queries.ts:3129
↓ 1 callers
Method
getAncestors
* Get ancestors of a node in the containment hierarchy * * @param nodeId - ID of the node * @returns Array of ancestor nodes from immediate p
src/index.ts:3261
↓ 1 callers
Function
getArrayValue
(section: string, key: string)
src/resolution/frameworks/cargo-workspace.ts:87
↓ 1 callers
Function
getBlockBody
Find the `body` child of a block (it's after the labels and block_start).
src/extraction/languages/terraform.ts:73
↓ 1 callers
Function
getCalleeName
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:10
↓ 1 callers
Method
getCalleesRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:375
↓ 1 callers
Method
getCallersRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:317
↓ 1 callers
Method
getCargoCrates
* 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 callers
Method
getChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/index.ts:3271
↓ 1 callers
Method
getCobolFilesByStem
(member: string)
src/graph/cobol-copybooks.ts:35
↓ 1 callers
Method
getCobolIncludesByMember
(member: string, limit: number)
src/graph/cobol-copybooks.ts:34
↓ 1 callers
Function
getCode
(file: string, expected = 200)
__tests__/ui-filecode-api.test.ts:63
↓ 1 callers
Method
getCode
* 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:1410
↓ 1 callers
Function
getCodeGraphPermissions
()
src/installer/targets/shared.ts:72
↓ 1 callers
Method
getCoveredRanges
* Line ranges (0-indexed, inclusive) the template scans must skip: * the frontmatter block and <script>/<style> blocks.
src/extraction/astro-extractor.ts:221
↓ 1 callers
Method
getCppIncludeDirs
* 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 callers
Method
getCppIncludeEdges
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 callers
Method
getCrossFileDependencyPairs
* 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 callers
Function
getCurriedParamsAndBody
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:89
↓ 1 callers
Method
getDaemonSocket
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 callers
Function
getDeadCode
(query = '')
__tests__/dead-code.test.ts:80
↓ 1 callers
Method
getDependencyFilePaths
* 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 callers
Method
getDependentFilePaths
* 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 callers
Method
getDetectedFrameworkNames
The frameworks extraction last detected, or null before any detection.
src/extraction/index.ts:2479
↓ 1 callers
Function
getDirectCalleeName
(node: SyntaxNode, source: string)
src/extraction/languages/nix.ts:24
↓ 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:921
↓ 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:2649
↓ 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:3334
↓ 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
← previous
next →
6,301–6,400 of 13,347, ranked by callers