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
Function
freshGraph
The graph of a fresh index of `files`, in a folder of its own.
__tests__/sync-jsx-import-forwarding.test.ts:91
↓ 1 callers
Function
freshGraph
The graph of a fresh index of `files`, in a folder of its own.
__tests__/sync-lazy-route-value.test.ts:121
↓ 1 callers
Function
freshNavigations
The same files, indexed from scratch in a folder of their own.
__tests__/sync-navigation-retry.test.ts:468
↓ 1 callers
Function
freshRouteLinks
The route links of a fresh index of `files`, in a folder of its own: indexing again over an index skips its unchanged files.
__tests__/sync-route-module-retry.test.ts:247
↓ 1 callers
Function
from
(r: ExtractionResult, name: string)
__tests__/sfc-component-owns-script.test.ts:21
↓ 1 callers
Function
fromQuery
(encoded: string)
__tests__/ui-server.test.ts:497
↓ 1 callers
Function
fromRoute
(name: string, kind: string)
__tests__/express-inline-function-handler.test.ts:85
↓ 1 callers
Function
fromTestCode
(id: string)
src/resolution/callback-synthesizer.ts:5699
↓ 1 callers
Function
front
(name: string)
__tests__/tauri-ipc.test.ts:673
↓ 1 callers
Function
fullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-typed-local-member-retry.test.ts:117
↓ 1 callers
Function
fullIndexOf
The final tree, indexed from scratch in a folder of its own.
__tests__/vue-module-imports.test.ts:149
↓ 1 callers
Function
fullIndexOf
(files: Files)
__tests__/ambient-module-imports.test.ts:993
↓ 1 callers
Function
fullIndexOf
The tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-module-importers.test.ts:125
↓ 1 callers
Function
fullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-import-member-retry.test.ts:138
↓ 1 callers
Function
fullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-import-binding-retry.test.ts:153
↓ 1 callers
Function
fullIndexOf
The final tree, indexed from scratch in a folder of its own: what the sync has to match.
__tests__/sync-python-import-binding-retry.test.ts:211
↓ 1 callers
Function
fullIndexOf
(files: Files)
__tests__/sync-barrel-renamed-reexport.test.ts:105
↓ 1 callers
Function
fullIndexWithDb
What a full index of C_BEFORE holds under a compile database naming `dir`, which names the folder it's in.
__tests__/sync-module-config-change.test.ts:130
↓ 1 callers
Function
funcFieldCalls
The go-func-field edges out of a function, as `target @registeredAt [field via]`.
__tests__/go-func-field-dispatch.test.ts:300
↓ 1 callers
Function
functionBody
* Where the function written at `at` keeps its body: a block, from its `{` to * its `}`, or an arrow's expression, at `start`. Null for no function.
src/resolution/frameworks/react.ts:2242
↓ 1 callers
Function
functionBodyEnd
(text: string, fnAt: number)
src/resolution/frameworks/express.ts:461
↓ 1 callers
Function
functionNames
(file: string, code: string)
__tests__/extraction.test.ts:950
↓ 1 callers
Function
functions
(result: ExtractionResult)
__tests__/ambient-module-imports.test.ts:215
↓ 1 callers
Function
functionsAround
The functions among `parents` whose lines hold `fn`'s, innermost first.
src/resolution/callback-synthesizer.ts:2337
↓ 1 callers
Function
g
A guard, with the fields the fold reads: which decision, which arm, how the arm leaves.
__tests__/ui-steps-program.test.ts:20
↓ 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:1675
↓ 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:190
↓ 1 callers
Function
gatePascalDataCall
See gatePascalCall: a call resolved to data.
src/resolution/pascal-scope.ts:199
↓ 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:470
↓ 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:4455
↓ 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:4431
↓ 1 callers
Function
gateSwiftTypeTarget
(result: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/swift-type-visibility.ts:327
↓ 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:4335
↓ 1 callers
Function
gateTypeParameter
(resolved: ResolvedRef | null, ref: UnresolvedRef, context: ResolutionContext)
src/resolution/type-parameters.ts:50
↓ 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:4275
↓ 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:4157
↓ 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:3095
↓ 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:3178
↓ 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
Method
getCallSites
* Direct callers or callees of a function/method, each with every site that * joins them, the symbol itself included when it calls itself * *
src/index.ts:3139
↓ 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:376
↓ 1 callers
Method
getCallersRecursive
( nodeId: string, maxDepth: number, currentDepth: number, result: Array<{ node: Node; edge: Ed
src/graph/traversal.ts:318
↓ 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:303
↓ 1 callers
Method
getChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/index.ts:3188
↓ 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:71
↓ 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:297
↓ 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:4463
↓ 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:3478
↓ 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:238
↓ 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:3668
↓ 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:3650
↓ 1 callers
Method
getDetectedFrameworkNames
The frameworks extraction last detected, or null before any detection.
src/extraction/index.ts:2442
↓ 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:1086
↓ 1 callers
Method
getEdgesWithTypeFrom
* Resolution edges whose answer was read from other files * (`metadata.typeFrom` — python attribute types, see * `resurrectTypeDependentEdges`),
src/db/queries.ts:5575
↓ 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:1247
↓ 1 callers
Method
getExploreMissDiagnostics
Bounded miss diagnostics, independent of relevance filters and ranking.
src/db/queries.ts:2153
↓ 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:203
↓ 1 callers
Method
getExportedNodesByFile
The exported nodes of a file, in {@link getNodesByFile} order, decoding only those rows.
src/db/queries.ts:1308
↓ 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:5110
↓ 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:5187
↓ 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:5639
↓ 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:5092
↓ 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:3333
↓ 1 callers
Method
getFileNodesByNamePrefix
File nodes whose basename starts with `prefix`, without a result cap.
src/db/queries.ts:1771
↓ 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:3304
↓ 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:4332
↓ 1 callers
Method
getFilesWithEdgesInto
The files with a resolution edge into one of `targetIds`.
src/db/queries.ts:3986
↓ 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:4288
↓ 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:117
← previous
next →
5,801–5,900 of 12,468, ranked by callers