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
↓ 3 callers
Function
fileSectionHeader
(filePath: string, suffix: string)
src/mcp/tools.ts:974
↓ 3 callers
Function
finalAnswerText
(events)
scripts/agent-eval/parse-run.mjs:679
↓ 3 callers
Method
findCircularDependencies
* Find circular imports between files * * @returns Groups of file paths that all reach each other through imports, * smallest group first
src/index.ts:3218
↓ 3 callers
Function
findFileCycles
(pairs: ReadonlyArray<{ source: string; target: string }>)
src/graph/file-cycles.ts:17
↓ 3 callers
Function
findIgnoredEmbeddedRepos
* Discover embedded repos hidden by `repoDir`'s OWN gitignore rules: for each * gitignored directory, search for nested `.git` roots. Returns repo pa
src/extraction/index.ts:1307
↓ 3 callers
Function
findIndexedSubprojectRoots
( root: string, opts: { maxDepth?: number; max?: number } = {}, )
src/directory.ts:419
↓ 3 callers
Function
findSourceForEmittedSpecifier
( relativePath: string, language: Language, context: ResolutionContext, exists: (file: string) => bool
src/resolution/import-resolver.ts:1416
↓ 3 callers
Method
findTagOccurrences
* Every occurrence of a Liquid tag, in BOTH spellings it can be written in. * * Inside a `{% liquid %}` tag, each line of the body is a tag *
src/extraction/liquid-extractor.ts:187
↓ 3 callers
Function
findUnindexedIgnoredRepos
(rootDir: string)
src/extraction/index.ts:1256
↓ 3 callers
Function
find_bytes
(s: &[u8], needle: &[u8], from: usize)
codegraph-kernel/src/cfnptr.rs:161
↓ 3 callers
Function
find_word
`\bWORD\b` occurrence search from `from`.
codegraph-kernel/src/cfnptr.rs:187
↓ 3 callers
Function
finish
()
src/mcp/project-lifecycle.ts:79
↓ 3 callers
Function
finish_block_comment
codegraph-kernel/grammars/scala/scanner.c:423
↓ 3 callers
Function
fitExploreEpilogue
(opts: { room: number; noteCandidates: ReadonlyArray<readonly string[]>; noteYields: boolean; pointerE
src/mcp/tools.ts:1446
↓ 3 callers
Method
flow
* The value every call of `method` passes `parameter`, or why there is none. * `path` holds the parameters being followed: a call passing one of th
src/resolution/parameter-flow.ts:314
↓ 3 callers
Method
flush
* Flush pending changes by running sync. * * pendingFiles is NOT cleared at the start of sync — entries are removed * only after sync commits
src/sync/watcher.ts:1080
↓ 3 callers
Method
foldNow
* Phase-boundary fold: backfill the ENTIRE WAL now (off-thread, awaited). * Called between bulk phases — e.g. after parsing, before resolution's
src/db/wal-valve.ts:232
↓ 3 callers
Function
foldPathCase
* A path in the form the sensitive-folder check compares: lower-cased where the * file system ignores case by default (NTFS, APFS), so `~/.SSH` is `~
src/utils.ts:252
↓ 3 callers
Function
foldScriptResult
(result: ExtractionResult, fold: ScriptFold, sink: ScriptSink)
src/extraction/sfc-script.ts:132
↓ 3 callers
Function
follow
( name: TypeName, scope: string, ref: UnresolvedRef, context: ResolutionContext, hops: number, )
src/resolution/cpp-type-aliases.ts:908
↓ 3 callers
Function
formatAllocation
(s, indent = ' ')
scripts/agent-eval/parse-run.mjs:692
↓ 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:9052
↓ 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:4623
↓ 3 callers
Method
gateLanguage
(result: ResolvedRef | null, ref: UnresolvedRef)
src/resolution/index.ts:4786
↓ 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
getCallSites
* The direct callers (or callees) of a symbol, each with every edge that * joins them: one row per neighbour, in the order {@link getCallers} and
src/graph/traversal.ts:425
↓ 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:3271
↓ 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:3051
↓ 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:3419
↓ 3 callers
Function
getExploreBudget
(fileCount: number)
src/mcp/tools.ts:265
↓ 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:5139
↓ 3 callers
Function
getFileExportIndex
(filePath: string, context: ResolutionContext)
src/resolution/import-resolver.ts:287
↓ 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:1109
↓ 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:3026
↓ 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:3334
↓ 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:256
↓ 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:171
↓ 3 callers
Method
getNodesByQualifiedNameExact
* Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
src/db/queries.ts:1787
↓ 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:250
↓ 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:3797
↓ 3 callers
Method
getResolutionEdgesThrough
* Resolution edges out of the nodes of `filePath` whose reference was * written through one of `names` (see {@link THROUGH_NAMES}), with the source
src/db/queries.ts:3721
↓ 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:1120
↓ 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:2713
↓ 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:194
↓ 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:3092
↓ 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:3020
↓ 3 callers
Method
getUnresolvedReferences
* Get all unresolved references
src/db/queries.ts:4447
↓ 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:1034
↓ 3 callers
Function
globalConfigDir
()
src/installer/targets/opencode.ts:70
↓ 3 callers
Function
goDirOf
The project-relative directory holding `p` ('' for the project root).
src/resolution/index.ts:4817
↓ 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:965
↓ 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:3390
↓ 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:382
↓ 3 callers
Function
hasGeneratedHeader
(content: string)
src/extraction/generated-detection.ts:207
↓ 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:2640
↓ 3 callers
Method
has_keyword_child
(&self, node: Node, kw: &str)
codegraph-kernel/src/tsjs/mod.rs:1069
↓ 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:423
↓ 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:328
↓ 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
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:47
↓ 3 callers
Method
indexAll
* Index all files in the project
src/extraction/index.ts:2481
↓ 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
initializeInstructions
(base: string, notice: string | null = getUpdateNotice())
src/mcp/session.ts:76
↓ 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:136
↓ 3 callers
Function
instructionsPath
(loc: Location)
src/installer/targets/pi.ts:45
← previous
next →
1,201–1,300 of 12,468, ranked by callers