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
↓ 2 callers
Method
frameworksFor
The detected frameworks whose `resolve()` reads a reference written in `language`.
src/resolution/index.ts:536
↓ 2 callers
Method
frameworksForFile
* The detected frameworks whose extractors apply to `filePath`: all of them, * except one with `appDependencies` when neither the file's package.js
src/extraction/index.ts:2380
↓ 2 callers
Function
freshEdges
()
__tests__/python-module-resolution.test.ts:1105
↓ 2 callers
Function
freshGraphOf
(files: Files)
__tests__/sync-python-import-binding-retry.test.ts:215
↓ 2 callers
Method
freshen
* Heal a long-lived connection whose `.codegraph/` was removed and recreated * at the same path (a worktree recreated, or `rm -rf .codegraph` + re-
src/mcp/tools.ts:2683
↓ 2 callers
Function
from
(name: string)
__tests__/expo-modules.test.ts:266
↓ 2 callers
Method
functionReturnedObject
* The object literal a function expression returns — either the `=> ({...})` * arrow form (a parenthesized_expression wrapping an object) or a *
src/extraction/tree-sitter.ts:3644
↓ 2 callers
Method
functionTemplate
(node: Node, parameters: readonly CppTemplateParameter[])
src/resolution/cpp-template-instantiations.ts:495
↓ 2 callers
Method
function_returned_object
(&self, fn_node: Node<'t>)
codegraph-kernel/src/tsjs/extractors.rs:1077
↓ 2 callers
Method
gateFrameworkLanguage
* Framework calls carry bridge evidence (RN/Expo JS → native). Other * framework results obey the same code-family boundary as name matches; * m
src/resolution/index.ts:4796
↓ 2 callers
Function
generated
`file:name` of every node `generate` calls or instantiates.
__tests__/default-export-declaration.test.ts:423
↓ 2 callers
Method
get
(...params: any[])
src/db/sqlite-adapter.ts:19
↓ 2 callers
Method
getAdjacentEdges
* Get adjacent edges based on direction
src/graph/traversal.ts:265
↓ 2 callers
Method
getAllNodeNames
* Get all distinct node names (lightweight — just name strings for pre-filtering)
src/db/queries.ts:4608
↓ 2 callers
Method
getAllNodes
* Get all nodes in the database
src/db/queries.ts:1685
↓ 2 callers
Function
getApplicableFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:138
↓ 2 callers
Method
getBackend
* Active SQLite backend for this project's connection (`node-sqlite` — Node's * built-in real-SQLite module). Surfaced via `codegraph status` and t
src/index.ts:2361
↓ 2 callers
Method
getBackend
* Get the SQLite backend serving this connection. Per-instance so * MCP cross-project queries report the right backend even when * multiple proj
src/db/index.ts:627
↓ 2 callers
Method
getCallGraph
* Get the call graph for a function * * Returns both callers (functions that call this function) and * callees (functions called by this func
src/index.ts:3079
↓ 2 callers
Function
getCalls
(g: CodeGraph, qualifiedName: string)
__tests__/python-typed-builtin-method-calls.test.ts:439
↓ 2 callers
Function
getCargoWorkspaceCrateMap
(context: ResolutionContext)
src/resolution/frameworks/cargo-workspace.ts:248
↓ 2 callers
Method
getChangeStamp
* A value that differs whenever the database content may have changed * since the last call, whoever changed it: `total_changes()` counts the *
src/db/queries.ts:1433
↓ 2 callers
Method
getChangedFiles
* Get files that have changed since last index. * Uses git status as a fast path when available, falling back to full scan.
src/extraction/index.ts:4259
↓ 2 callers
Method
getChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/graph/traversal.ts:843
↓ 2 callers
Function
getClaudeMcpServerConfig
* The shared stdio entry plus `alwaysLoad: true`, Claude Code's exemption from * tool-search deferral (https://code.claude.com/docs/en/mcp#exempt-a-s
src/installer/targets/claude.ts:56
↓ 2 callers
Method
getCppIncludeNodes
* The import node of every C / C++ `#include`, narrowed to the path it * spells and where it is written: what ./cpp-includers builds the include
src/resolution/types.ts:310
↓ 2 callers
Method
getDegradedReason
The reason live watching degraded, or null if it is healthy.
src/sync/watcher.ts:901
↓ 2 callers
Method
getDeprioritizedPathMatcher
The `deprioritize` predicate (#982), so other rankers apply the same lever.
src/db/queries.ts:694
↓ 2 callers
Method
getDeprioritizedPathSnapshot
* The `deprioritize` predicate with the project's patterns read once, for a * loop that asks about many paths. The plain predicate re-checks * `
src/db/queries.ts:704
↓ 2 callers
Method
getDistinctFileLanguages
* Distinct languages present in the files table. One indexed aggregate — * lets the dynamic-edge synthesizers skip passes for languages the project
src/db/queries.ts:1716
↓ 2 callers
Method
getExploreMissDiagnostics
Lexical evidence for an empty explore result; does not alter retrieval.
src/index.ts:2676
↓ 2 callers
Method
getFanOut
* Fan-out (outgoing edge count) for many nodes at once — the mirror of * {@link getFanIn}. See {@link QueryBuilder.countOutgoingEdges}.
src/index.ts:2441
↓ 2 callers
Method
getFileDependencyPairs
* Every ordered pair of files where one reaches into the other. See * {@link QueryBuilder.getCrossFileDependencyPairs}.
src/index.ts:2587
↓ 2 callers
Method
getFileDependentCounts
* How many OTHER files depend on each of the given files. * * Counted through the symbols, not the file nodes: an `imports` edge points * at
src/db/queries.ts:3277
↓ 2 callers
Method
getFileImportPairs
* Every ordered pair of files where one imports the other, once each: the * graph circular imports are read from. See `src/graph/file-cycles.ts`.
src/db/queries.ts:3502
↓ 2 callers
Method
getFlowFacts
* What a file holds that a flow reads: see FlowFacts. A call that failed counts * as much as one that resolved, so it reads the same whichever way
src/db/parameter-flow-queries.ts:160
↓ 2 callers
Method
getGeneratedFileCount
How many indexed files are flagged tool-generated. Reported by `status`.
src/index.ts:2990
↓ 2 callers
Function
getGitHeadSha
(rootDir: string)
src/extraction/index.ts:1678
↓ 2 callers
Function
getGitVisibleFiles
* Get all files visible to git (tracked + untracked but not ignored). * Respects .gitignore at all levels (root, subdirectories) and descends into *
src/extraction/index.ts:1542
↓ 2 callers
Method
getIndexHealth
* Indexed files whose symbols are missing although their content is current * — rows a content-hash comparison calls up to date (#2336). Reported b
src/index.ts:2999
↓ 2 callers
Function
getJson
* Payloads are read as `any` on purpose: these tests assert the JSON contract * the viewer sees over the wire, so typing them against the server's ow
__tests__/ui-server-api.test.ts:80
↓ 2 callers
Method
getLastIndexedAt
* Most recent index timestamp (ms since epoch) across all tracked files, or * null when nothing is indexed yet. Lets library consumers check index
src/index.ts:2167
↓ 2 callers
Method
getMaxEdgeId
The highest edge id so far: edges inserted later have higher ids (AUTOINCREMENT).
src/db/queries.ts:5213
↓ 2 callers
Method
getNamesForSegment
Names containing the given segment (rare-single-word tier).
src/db/queries.ts:1162
↓ 2 callers
Method
getNodeNamePairsByFiles
* Distinct `file\0name` pairs defined by the given files — the shape sync's * definition delta needs (CG-33). * * Deliberately NOT `getNodeNa
src/db/queries.ts:5740
↓ 2 callers
Method
getNodesByIds
* Get many nodes by id in ONE round-trip (LRU-cache aware). * * The batch form of {@link getNode}. Anything resolving a list of edges to * th
src/index.ts:2394
↓ 2 callers
Method
getNodesByNameSubstring
* Nodes whose name CONTAINS `substring` (LIKE scan, ASCII-case-insensitive, * shortest-first). The camel-infix lookup FTS can't do — `profileInfo`
src/index.ts:2659
↓ 2 callers
Function
getOpencodeServerEntry
()
src/installer/targets/opencode.ts:129
↓ 2 callers
Method
getPendingFiles
* Snapshot of files seen by the watcher since the last successful sync. * * Used by MCP tool responses to mark stale results without blocking on
src/sync/watcher.ts:1214
↓ 2 callers
Method
getPythonRootFingerprint
* Digest of the package roots Python import resolution rests on (see * `pythonRootFingerprint`). Build configs are read from disk rather than *
src/resolution/index.ts:3291
↓ 2 callers
Method
getRecord
What the last pass over a language left for the next sync: null or blank for nothing to go on.
src/db/parameter-flow-queries.ts:268
↓ 2 callers
Method
getRelatedFiles
* Get unique files from a subgraph
src/context/index.ts:1530
↓ 2 callers
Method
getResolutionEdgesByTargetName
* Resolution edges whose TARGET symbol is named one of `names` — the edges a * sync must re-resolve after `names` gained or lost a definition (CG-3
src/db/queries.ts:5248
↓ 2 callers
Method
getResolvedNavigations
* The `navigates` edges a router's resolver made (not a synthesizer's), with * the source file and language a resurrection needs — the navigation c
src/db/queries.ts:5164
↓ 2 callers
Function
getResolvingFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:158
↓ 2 callers
Method
getRetryableFailedImports
* Failed `imports` refs a sync should retry once files appear. An import * names a file, a folder or a namespace, which the symbol lookup above
src/db/queries.ts:5019
↓ 2 callers
Function
getSection
(content: string, sectionName: string)
src/resolution/frameworks/cargo-workspace.ts:19
↓ 2 callers
Method
getSegmentNameCounts
How many distinct names each segment appears in — the rarity signal that * separates a discriminative word ("checkout") from a ubiquitous one ("st
src/db/queries.ts:1149
↓ 2 callers
Function
getStaticTools
()
src/mcp/tools.ts:2005
↓ 2 callers
Function
getSupportedLanguages
()
src/extraction/grammars.ts:857
↓ 2 callers
Method
getTopDependedOn
* The nodes with the most DISTINCT dependents, most first. * * "Distinct" is the difference that matters: a helper called forty times from *
src/db/queries.ts:3171
↓ 2 callers
Method
getTopRouteFile
* Find the project's "primary route file" — the file with the densest * concentration of framework-emitted `route` nodes (≥3 routes, ≥30% * of a
src/index.ts:2891
↓ 2 callers
Method
getUnresolvedNamesAmong
* Which of the given names the index holds an unresolved reference to — the * resolver saw the name and could not decide what it meant. A symbol wi
src/index.ts:2482
↓ 2 callers
Method
getUnresolvedReferencesInFile
* The same, for every symbol in a FILE at once, in line order. * * One indexed lookup instead of one per symbol — the whole-file reader needs
src/index.ts:2615
↓ 2 callers
Function
getVersion
()
src/installer/index.ts:55
↓ 2 callers
Method
getWatcherDegradedReason
The reason live watching degraded, or null if it is healthy (#876).
src/index.ts:2116
↓ 2 callers
Function
git
(...args: string[])
__tests__/sparse-checkout.test.ts:107
↓ 2 callers
Function
git
(...args: string[])
__tests__/index-gone-tracked-files.test.ts:29
↓ 2 callers
Function
git
(...args: string[])
__tests__/git-status-subdir-project.test.ts:29
↓ 2 callers
Function
git
(...args: string[])
__tests__/local-only-gitignore.test.ts:57
↓ 2 callers
Function
git
(cwd: string, ...args: string[])
__tests__/git-ignored-dirs-scope.test.ts:33
↓ 2 callers
Function
git
(...args: string[])
__tests__/git-index-currency.test.ts:42
↓ 2 callers
Function
git
(cwd: string, args: string[])
__tests__/git-changed-untracked-dir.test.ts:17
↓ 2 callers
Function
git
(...args: string[])
__tests__/status-sparse-checkout.test.ts:35
↓ 2 callers
Function
git
(cwd: string, ...args: string[])
__tests__/src-build-folders.test.ts:25
↓ 2 callers
Function
git
(root: string, ...args: string[])
__tests__/workspace-manifest-walk.test.ts:48
↓ 2 callers
Function
git
(cwd: string, ...args: string[])
__tests__/extraction.test.ts:8898
↓ 2 callers
Function
git
(cwd: string, ...args: string[])
__tests__/multi-repo-workspace.test.ts:32
↓ 2 callers
Function
git
(...a: string[])
__tests__/mpeg-ts-not-typescript.test.ts:162
↓ 2 callers
Function
gitRepo
(dir: string)
__tests__/src-build-folders.test.ts:54
↓ 2 callers
Function
gitRuns
()
__tests__/status-sparse-checkout.test.ts:59
↓ 2 callers
Function
gitlinkEmbeddedRepoSkipped
* Whether an embedded repo found as a tracked gitlink (mode 160000, #1031/#1033) * must be SKIPPED rather than indexed. A gitlink is tracked, so `.gi
src/extraction/index.ts:1156
↓ 2 callers
Function
give
(id: string)
src/resolution/frameworks/drupal.ts:365
↓ 2 callers
Function
globStep
The states a folder named `name` leads to from `states`; `walking` skips what pnpm's walk skips.
src/resolution/workspace-packages.ts:1018
↓ 2 callers
Function
goDeclarationText
The source a Go type declaration starts with: its line, and the next two for a list that wraps.
src/resolution/callback-synthesizer.ts:1026
↓ 2 callers
Function
goDeclaredNames
* The names a type name written bare inside a Go type declaration can mean * without naming another type: the declaration's own type parameters, and
src/extraction/languages/go.ts:74
↓ 2 callers
Function
goListItems
* The top-level items of the Go bracketed list opening at `text[open]` — the * parameters of `(ctx context.Context, a, b int)` are `ctx context.Conte
src/resolution/callback-synthesizer.ts:921
↓ 2 callers
Function
goPackageClause
(source: string)
src/graph/go-package.ts:25
↓ 2 callers
Function
goStdlibMethods
(importPath: string | null, typeName: string)
src/resolution/go-stdlib-methods.ts:240
↓ 2 callers
Function
goTypeParameterNames
The type parameters a Go type declaration declares: `T` and `K` in `type Store[T any, K comparable] …`.
src/extraction/languages/go.ts:82
↓ 2 callers
Function
goTypes
Every Go type in the graph that could implement an interface.
__tests__/go-implements-defined-types.test.ts:185
↓ 2 callers
Function
graphDb
()
__tests__/segment-vocab.test.ts:65
↓ 2 callers
Function
graphOf
Every node, edge and parked reference of an index, by natural key.
__tests__/parameter-flow.test.ts:584
↓ 2 callers
Function
graphOf
Every node and edge by natural key, edge metadata included, so two indexes of the same files compare directly.
__tests__/sync-jsx-import-forwarding.test.ts:64
↓ 2 callers
Function
graphOf
Every node and edge by natural key, so two indexes of the same files compare directly.
__tests__/sync-size-cap-shrink.test.ts:22
↓ 2 callers
Function
graphOf
Every node and edge by natural key, edge metadata included, so two indexes of the same files compare directly.
__tests__/sync-lazy-route-value.test.ts:77
↓ 2 callers
Function
greetDef
()
__tests__/sync.test.ts:654
↓ 2 callers
Function
groupByKind
(results: readonly WireSearchResult[])
ui/src/lib/search-model.ts:163
↓ 2 callers
Function
groupRelations
( edges: readonly Edge[], endpoint: (edge: Edge) => string, nodes: Map<string, Node> )
src/ui-server/api/wire.ts:257
↓ 2 callers
Function
groupRows
( placed: ReadonlyArray<{ row: EntryRow; path: string; file: string | null }> )
ui/src/lib/entry-model.ts:111
← previous
next →
2,401–2,500 of 12,468, ranked by callers