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
↓ 3 callers
Function
formatCallSiteLines
(lines: readonly number[], max: number)
src/graph/call-sites.ts:19
↓ 3 callers
Method
formatNodeListEntry
* One callers/callees entry. Compact: name, kind, location (the caller's * call sites when `locations` has them, else the declaration's line), the
src/mcp/tools.ts:9199
↓ 3 callers
Function
formatReportRow
(category: string, amountCents: number, currency: string)
__tests__/fixtures/oversize-member-ts/src/report/format.ts:4
↓ 3 callers
Function
frameworkPhrase
(frameworks: readonly string[])
ui/src/lib/entry-model.ts:205
↓ 3 callers
Function
functionParts
* An arrow function's or a `function`'s parameter list and body, its * `async` and return type skipped. Null for any other expression.
src/resolution/frameworks/react.ts:1649
↓ 3 callers
Method
fuzzyNames
* The distinct node names, in {@link getAllNodeNames} order, and the same * names lowercased and newline-joined: name `i` lowercased is * `lower
src/db/queries.ts:4734
↓ 3 callers
Method
gateLanguage
(result: ResolvedRef | null, ref: UnresolvedRef)
src/resolution/index.ts:5177
↓ 3 callers
Method
getAllNodes
* Get all nodes in the database
src/db/queries.ts:1687
↓ 3 callers
Method
getAncestors
* Get the containment hierarchy for a node (ancestors) * * @param nodeId - ID of the node * @returns Array of ancestor nodes from immediate p
src/graph/traversal.ts:805
↓ 3 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/index.ts:3344
↓ 3 callers
Method
getContext
* Get the context for a node (ancestors, children, references) * * Returns comprehensive context about a node including its containment * hie
src/index.ts:3121
↓ 3 callers
Method
getDbFileSizeBytes
Size of the main DB file in bytes (0 for in-memory/unknown) — the WAL * valve scales its fold caps with it (resolveWalValveMb).
src/db/index.ts:704
↓ 3 callers
Method
getDetectedFrameworks
* Get detected frameworks
src/resolution/index.ts:3607
↓ 3 callers
Function
getExploreBudget
(fileCount: number)
src/mcp/tools.ts:271
↓ 3 callers
Method
getFailedCallSites
A language's failed calls of a method name, or made by one caller.
src/db/parameter-flow-queries.ts:202
↓ 3 callers
Method
getFailedCallsByTail
* Failed `calls` refs whose name tail is one of `tails` — the navigation * calls (`history.push`, `navigate`) a sync looks through after a route
src/db/queries.ts:5250
↓ 3 callers
Method
getFrameworkChangesSinceIndex
* The frameworks that came or went since the last full index (#2516): files * indexed before the change were read without the frameworks added, and
src/index.ts:1119
↓ 3 callers
Method
getJournalMode
* The journal mode actually in effect (e.g. 'wal', 'delete'). * * SQLite silently keeps the prior mode if WAL can't be enabled — e.g. on * fi
src/db/index.ts:648
↓ 3 callers
Method
getLanguageCoverage
* Files found against files that yielded symbols, by language. Reported by * `status`, whose `--strict` fails on a language that yielded none.
src/index.ts:3096
↓ 3 callers
Method
getModuleConfigSnapshot
* The module-config files the index was resolved by, with a digest of each * (see `moduleConfigSnapshot`): every tsconfig / jsconfig this resolver
src/resolution/index.ts:3484
↓ 3 callers
Method
getNearestAliases
* The aliases of the tsconfig / jsconfig nearest `fromFile` below the * project root that declares `paths` or `baseUrl` — a monorepo app's own *
src/resolution/types.ts:258
↓ 3 callers
Method
getNodeNamesOfKinds
* The names of a language's nodes of the given kinds, nothing else decoded: * a cheap pre-filter before lookups by name. Optional for external/test
src/resolution/types.ts:173
↓ 3 callers
Method
getNodesByQualifiedNameExact
* Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
src/db/queries.ts:1803
↓ 3 callers
Function
getPrecedingDocstring
( node: SyntaxNode, source: string, stepOver: readonly string[] = [], skipTrailing = false, skipDeta
src/extraction/tree-sitter-helpers.ts:170
↓ 3 callers
Method
getProjectAliases
* Project import-path aliases (tsconfig/jsconfig `paths`, and `baseUrl`). * Returns `null` when the project doesn't define any. Cached per resolver
src/resolution/types.ts:252
↓ 3 callers
Method
getResolutionEdgesInto
* The resolution edges into `targetIds` — every edge into one of them but * `contains` and synthesized (`provenance='heuristic'`) ones — with the
src/db/queries.ts:3908
↓ 3 callers
Method
getSchemaVersion
* Get current schema version
src/db/index.ts:660
↓ 3 callers
Method
getSegmentCoOccurrence
* Names whose segments cover at least `minWords` distinct PROMPT WORDS — * the co-occurrence probe behind the prompt hook's medium tier: the words
src/db/queries.ts:1122
↓ 3 callers
Method
getSegmentMatches
* Graph-derived prompt matching for the front-load hook's MEDIUM tier: * which indexed symbols do these prose words name? "state machine des * c
src/index.ts:2783
↓ 3 callers
Function
getStemVariants
(term: string)
src/search/query-utils.ts:85
↓ 3 callers
Method
getSupertypeNodes
* The nodes one type declaration extends or implements, through its own * resolved `implements`/`extends` edges: where getSupertypes unions those o
src/resolution/types.ts:196
↓ 3 callers
Method
getTypeHierarchy
* Get the type hierarchy for a class/interface * * Returns both ancestors (types this extends/implements) and * descendants (types that exten
src/index.ts:3162
↓ 3 callers
Method
getUnresolvedReferenceNamesFrom
* The names each of `nodeIds` holds an unresolved reference of `kinds` to. * * A reference into code outside the index leaves no edge, only this
src/db/queries.ts:3054
↓ 3 callers
Method
getUnresolvedReferences
* Get all unresolved references
src/db/queries.ts:4558
↓ 3 callers
Function
getUpdateNotice
(deps: UpdateCheckDeps = {})
src/upgrade/update-check.ts:209
↓ 3 callers
Function
git
(cwd: string, ...args: string[])
__tests__/worktree-detection.test.ts:30
↓ 3 callers
Function
git
(cwd: string, ...args: string[])
__tests__/mcp-nested-repo-projectpath.test.ts:26
↓ 3 callers
Function
gitHooksDir
* Resolve the git hooks directory for a project, honoring `core.hooksPath` * and git worktrees. Returns an absolute path, or null when not a repo.
src/sync/git-hooks.ts:73
↓ 3 callers
Function
globClosure
`states` with every `**` that can match no folder at all stepped over.
src/resolution/workspace-packages.ts:1042
↓ 3 callers
Function
globalConfigDir
()
src/installer/targets/opencode.ts:71
↓ 3 callers
Function
goDirOf
The project-relative directory holding `p` ('' for the project root).
src/resolution/index.ts:5208
↓ 3 callers
Function
goSignatureParts
* A Go signature as extraction stores it for a function or method — the * parameter list's text, then the result's — split into its parameters and *
src/resolution/callback-synthesizer.ts:901
↓ 3 callers
Function
grammarFor
(language: string | undefined | null)
src/ui-server/highlight/languages.ts:37
↓ 3 callers
Function
groupDefinitions
( nodes: Node[], fileFilter?: string )
src/graph/symbol-lookup.ts:217
↓ 3 callers
Method
groupDefinitions
* Group symbol matches into DISTINCT DEFINITIONS — one group per * (filePath, qualifiedName), so same-file overloads stay together while * unrel
src/mcp/tools.ts:3408
↓ 3 callers
Function
groupFilesByPackage
( projectRoot: string, files: readonly F[], )
src/graph/owning-package.ts:108
↓ 3 callers
Function
guard
* One guard. `branch` names the construct the arm belongs to: by default the * node the walk is climbing THROUGH (an `if`, a ternary, a `catch`), whi
src/graph/branch-guards.ts:1188
↓ 3 callers
Function
guardsForFile
( absPath: string, language: Language, sites: readonly CallSite[] )
src/graph/branch-guards.ts:250
↓ 3 callers
Function
guardsInTree
( root: SyntaxNode, source: string, language: Language, line: number, column: number | null )
src/graph/branch-guards.ts:1065
↓ 3 callers
Function
handleCopy
COPY <book> [IN/OF lib] — import node + imports reference.
src/extraction/languages/cobol.ts:104
↓ 3 callers
Function
handleExec
* EXEC ... END-EXEC blocks are opaque single nodes. Mine the text for the * statically-resolvable shapes: CICS LINK/XCTL to a program (cross-program
src/extraction/languages/cobol.ts:144
↓ 3 callers
Function
handleLocally
(line: string)
src/mcp/proxy.ts:383
↓ 3 callers
Function
hasGeneratedHeader
(content: string)
src/extraction/generated-detection.ts:207
↓ 3 callers
Function
hasNamespace
Whether `file` declares the namespace `path`, itself or as the prefix of a longer one (`namespace A.B` declares `A`).
src/resolution/import-resolver.ts:3247
↓ 3 callers
Function
hasServer
(lines: string[])
src/installer/targets/dsh.ts:169
↓ 3 callers
Function
hasStructuralKeyword
(prompt: string)
src/directory.ts:750
↓ 3 callers
Method
hasSynthesizedEdgesTouchingFile
Must run before file replacement/deletion cascades the endpoint edges.
src/db/queries.ts:2656
↓ 3 callers
Method
has_keyword_child
(&self, node: Node, kw: &str)
codegraph-kernel/src/tsjs/mod.rs:1095
↓ 3 callers
Function
headerLines
A file's lines before its first declaration: where its `Option` and `Imports` statements are.
src/resolution/vbnet-receivers.ts:683
↓ 3 callers
Function
headersWith
* Builds the response headers. Extras go through `new Headers(...)` rather than * an object spread: spreading a `Headers` instance silently yields `{
telemetry-dashboard/src/index.ts:68
↓ 3 callers
Function
heldTable
* The tables a value written at `at` gives: the literal there, or the * function a call there names — `getRouteMap({ … })`, `await loadRoutes()` — *
src/resolution/frameworks/react.ts:2170
↓ 3 callers
Method
helper
(Object arg)
__tests__/fixtures/kernel-parity/Torture.java:62
↓ 3 callers
Function
hidden
()
ui/src/lib/live.svelte.ts:128
↓ 3 callers
Function
hrefArms
(href: HrefLiteral)
src/resolution/frameworks/expo-router.ts:298
↓ 3 callers
Function
httpError
(w http.ResponseWriter, status int, msg string)
__tests__/fixtures/payroll-go/internal/transport/httpapi/payroll_handler.go:94
↓ 3 callers
Method
impl_type_name
rustImplTypeName (languages/rust.ts) — the implementing type's simple name for an impl block, from the grammar's `type` field (#1588): `impl<T> Tr for
codegraph-kernel/src/rustlang.rs:421
↓ 3 callers
Function
implicitResponseStatus
(text: string)
src/ui-server/api/effects.ts:493
↓ 3 callers
Function
importedFacts
Facts for the file a local name is imported from, when the import resolves to a project file.
src/resolution/tier-synthesizer.ts:329
↓ 3 callers
Function
importedModule
The module `name` is imported from in `facts.file` (null for a package), and the export the import names.
src/resolution/event-emitter-synthesizer.ts:712
↓ 3 callers
Function
inAngularTable
True for a route the table holds: this resolver's, at an absolute path.
src/resolution/frameworks/angular-router.ts:701
↓ 3 callers
Function
inCfgTestFile
(filePath: string, readSource: SourceReader, depth = 0)
src/graph/test-code.ts:42
↓ 3 callers
Function
inFilePath
The path a route has within its own file, before any mount — kept in the qualified name so the cross-file pass is idempotent.
src/resolution/frameworks/angular-router.ts:357
↓ 3 callers
Function
index
(root: string)
__tests__/sync-navigation-retry.test.ts:452
↓ 3 callers
Function
index
(root: string)
__tests__/sync-module-config-change.test.ts:48
↓ 3 callers
Method
indexAll
* Index all files in the project
src/extraction/index.ts:2518
↓ 3 callers
Function
indexAtDepth0
Index of the first `ch` at bracket depth 0 and outside strings, or -1.
src/resolution/frameworks/expo-router.ts:303
↓ 3 callers
Function
indexedTarget
* `target` as a file the index holds: as written, with the language's * extensions or index files, or as the source of an emitted `.js`. Only the *
src/resolution/import-resolver.ts:1659
↓ 3 callers
Function
initializeInstructions
(base: string, notice: string | null = getUpdateNotice())
src/mcp/session.ts:78
↓ 3 callers
Function
inlineCode
`text` as inline code, whatever backticks it holds.
src/mcp/explore-one-symbol.ts:172
↓ 3 callers
Function
innermostNamespace
The innermost class or module around `ref`, if any.
src/resolution/ruby-constant-paths.ts:148
↓ 3 callers
Function
installChangedReason
(packageJsonPath: string, runningVersion: string)
src/mcp/daemon.ts:186
↓ 3 callers
Function
instanceKey
(filePath: string, owner: string)
src/resolution/frameworks/elysia.ts:161
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/pi.ts:45
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/claude.ts:99
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/codex.ts:66
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/opencode.ts:111
↓ 3 callers
Function
instructionsPath
()
src/installer/targets/dsh.ts:71
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/droid.ts:32
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/gemini.ts:56
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/kimi.ts:42
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/grok.ts:48
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/qwen.ts:50
↓ 3 callers
Function
int
(x)
scripts/agent-eval/compare-arms.mjs:104
↓ 3 callers
Function
intern
(x: string)
src/resolution/c-fnptr-synthesizer.ts:525
↓ 3 callers
Function
invoke
(bundle: string, command: string, args: string[] = [], extraEnv: NodeJS.ProcessEnv = {}, input?: string)
__tests__/bundle-launcher.test.ts:45
↓ 3 callers
Function
isBareModuleSpecifier
Whether `source`, imported in a file of `language`, is an ES module specifier written as a name, not a path.
src/resolution/import-resolver.ts:3709
↓ 3 callers
Function
isBlank
True when `text` holds nothing but whitespace (and a BOM).
src/installer/targets/shared.ts:353
↓ 3 callers
Function
isBlockLevel
Whether `node` is a declaration at a block's own level: not a class's or an interface's member.
src/resolution/ambient-modules.ts:683
↓ 3 callers
Function
isConfigLeafNode
(node: { kind: string; language?: string })
src/utils.ts:82
↓ 3 callers
Function
isDatabaseOpenFailure
(err: unknown)
src/db/open-error.ts:91
← previous
next →
1,301–1,400 of 13,088, ranked by callers