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
↓ 3 callers
Function
extractQueryPaths
( query: string, indexedPaths: readonly string[], opts: { maxPins?: number; maxMatchesPerSpan?:
src/search/query-paths.ts:294
↓ 3 callers
Method
extractTypeRefsFromSubtree
* Recursively walk a subtree and extract all type_identifier references. * Handles unions, intersections, generics, arrays, etc.
src/extraction/tree-sitter.ts:9005
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — kotlin annotations inside `modifiers`: `@Marker` (user_type child) → decorates ref; `@Anno(args)` (constructor_invocation) → NO
codegraph-kernel/src/kotlin.rs:1561
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — python decorators are PRECEDING SIBLINGS inside decorated_definition. Only bare-identifier decorators yield a target (python's
codegraph-kernel/src/python.rs:797
↓ 3 callers
Method
extract_decorators_for
(&mut self, decl: Node<'t>, decorated_row: u32)
codegraph-kernel/src/dart.rs:1941
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:952
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:1270
↓ 3 callers
Method
extract_inheritance
extractInheritance — delegation_specifier: user_type ?? its constructor_invocation's user_type ?? its explicit_delegation's user_type (`I by impl`) →
codegraph-kernel/src/kotlin.rs:1420
↓ 3 callers
Method
extract_inheritance
extractInheritance — the Java clauses (type_list-aware).
codegraph-kernel/src/java.rs:1027
↓ 3 callers
Method
extract_inheritance
extractInheritance — the rust-reachable cases: trait_bounds (supertraits; a scoped `fmt::Debug` bound matches NO case and is dropped) and the field_de
codegraph-kernel/src/rustlang.rs:1125
↓ 3 callers
Method
extract_inheritance
extractInheritance — base_clause takes ONLY the first base (interface multi-extends drops the rest); class_interface_clause takes ALL children unfilte
codegraph-kernel/src/php.rs:1316
↓ 3 callers
Method
extract_inheritance
(&mut self, node: Node<'t>, class_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2127
↓ 3 callers
Method
extract_name
extractName (tree-sitter.ts:98-192) — the lua-reachable branches.
codegraph-kernel/src/lua.rs:364
↓ 3 callers
Method
extract_type_annotations
extractTypeAnnotations — Java's returnField is `type`.
codegraph-kernel/src/java.rs:1132
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/swift.rs:1235
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2223
↓ 3 callers
Method
extract_variable_type_annotation
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2211
↓ 3 callers
Method
fail
(err: Error)
src/resolution/resolver-pool.ts:335
↓ 3 callers
Function
fetch
(request, env)
telemetry-dashboard/src/index.ts:230
↓ 3 callers
Method
file
One file: outline, import rails, dependencies, drift.
ui/src/lib/adapter.ts:218
↓ 3 callers
Function
fileDrift
(index: DriftIndex, relPath: string, content?: string)
src/graph/file-drift.ts:40
↓ 3 callers
Function
fileFingerprint
(content: string)
src/mcp/explore-dedup.ts:97
↓ 3 callers
Function
fileName
(filePath: string)
src/resolution/cpp-includers.ts:57
↓ 3 callers
Function
fileSectionHeader
(filePath: string, suffix: string)
src/mcp/tools.ts:980
↓ 3 callers
Function
fill
`unit(i)` repeated until the text is `bytes` long, between a head and a tail.
__tests__/large-file-indexing.test.ts:40
↓ 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:3304
↓ 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:1323
↓ 3 callers
Function
findIndexedSubprojectRoots
( root: string, opts: { maxDepth?: number; max?: number } = {}, )
src/directory.ts:419
↓ 3 callers
Function
findMarkedSections
* Every well-formed marker block in `content`, in file order. Each end * marker closes the nearest start marker before it, so a block never * contai
src/installer/targets/shared.ts:320
↓ 3 callers
Function
findSourceForEmittedSpecifier
( relativePath: string, language: Language, context: ResolutionContext, exists: (file: string) => bool
src/resolution/import-resolver.ts:1479
↓ 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:1272
↓ 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:99
↓ 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:1452
↓ 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
followed_by_arrow
After scan_for_word has matched "else", peek past optional whitespace and comments for "->". If found, this is a when-entry's `else ->`, not an if-els
codegraph-kernel/grammars/kotlin/scanner.c:502
↓ 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:9225
↓ 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:1671
↓ 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:5246
↓ 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:3357
↓ 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:3134
↓ 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:3679
↓ 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:1124
↓ 3 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:3077
↓ 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:3109
↓ 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:3556
↓ 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:204
↓ 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:2791
↓ 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:3175
↓ 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:5277
↓ 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:904
↓ 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:3450
↓ 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
← previous
next →
1,301–1,400 of 13,347, ranked by callers