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
↓ 9 callers
Function
isRoutine
(node: Node)
src/resolution/pascal-scope.ts:339
↓ 9 callers
Function
parseHrefExpression
(expr: string)
src/resolution/frameworks/expo-router.ts:369
↓ 9 callers
Function
plural
(count: number, one: string, many = `${one}s`)
ui/src/lib/symbol-model.ts:535
↓ 9 callers
Function
query
(params: URLSearchParams)
ui/src/lib/adapter.ts:283
↓ 9 callers
Method
replaceResolutionEdgesWithUnresolvedRefs
( edgeIds: number[], refs: UnresolvedReference[] )
src/db/queries.ts:5697
↓ 9 callers
Function
routesForFile
( table: RootedRouteTable<T>, filePath: string )
src/resolution/frameworks/expo-router.ts:556
↓ 9 callers
Function
runMigrations
(db: SqliteDatabase, fromVersion: number)
src/db/migrations.ts:357
↓ 9 callers
Method
statement
(sql: string)
src/db/parameter-flow-queries.ts:106
↓ 9 callers
Method
unwatch
* Stop watching for file changes.
src/index.ts:2089
↓ 9 callers
Method
visit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:790
↓ 8 callers
Function
$
(root, role)
telemetry-dashboard/public/app.js:118
↓ 8 callers
Function
applyEdits
* `s` with every `[from, to)` range in `ranges` blanked to spaces, newlines kept, and every `[from, to, word]` in * `words` (which overlap neither ea
src/extraction/languages/pascal-preparse.ts:964
↓ 8 callers
Method
at
Line `index`, 0-based, without its newline; undefined past the last.
src/resolution/ruby-parameter-flow.ts:65
↓ 8 callers
Method
at
The values of the intervals holding `offset` (open < offset < close), outermost first.
codegraph-kernel/src/ccpp/brace_scopes.rs:45
↓ 8 callers
Method
batch
(statements: SqliteD1Statement[])
__tests__/telemetry-services.test.ts:89
↓ 8 callers
Function
blankLoneMacroLines
(source: string, rules: LoneMacroRules = C_LONE_MACROS)
src/extraction/languages/c-cpp.ts:1470
↓ 8 callers
Function
compute
(n: number)
__tests__/fixtures/kernel-parity/torture.tsx:45
↓ 8 callers
Function
cppTypeName
The `::` segments of a written type, or null when it is not a plain (possibly qualified) type name.
src/resolution/cpp-type-aliases.ts:87
↓ 8 callers
Function
cppTypeSegments
(raw: string)
src/resolution/cpp-type-aliases.ts:152
↓ 8 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/dart.rs:350
↓ 8 callers
Method
drain
()
src/mcp/query-pool.ts:430
↓ 8 callers
Function
esc
(text: string)
ui/src/lib/export-svg.ts:125
↓ 8 callers
Method
extractFunction
* Extract a function
src/extraction/tree-sitter.ts:2331
↓ 8 callers
Method
extract_function
(&mut self, node: Node<'t>, name_override: Option<String>)
codegraph-kernel/src/tsjs/extractors.rs:18
↓ 8 callers
Method
extract_name
extractName incl. the resolveName hook: a multi-segment extension name (`extension KF.Builder`) takes the LAST type_identifier's text.
codegraph-kernel/src/swift.rs:504
↓ 8 callers
Function
finish
( peers: { pid: number | null; hostPid: number | null }, putBack?: Buffer, )
src/mcp/daemon.ts:985
↓ 8 callers
Method
getCallers
* Find all callers of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (def
src/graph/traversal.ts:309
↓ 8 callers
Method
getFileDependencies
* Get dependencies of a file * * @param filePath - Path to the file * @returns Array of file paths this file depends on
src/index.ts:3198
↓ 8 callers
Method
getIncomingEdgesTo
* Incoming edges for MANY target nodes in one query — the mirror of * {@link getOutgoingEdgesFrom}. Needed wherever a whole file's inbound edges
src/db/queries.ts:2862
↓ 8 callers
Method
getPath
* Get database file path
src/db/index.ts:634
↓ 8 callers
Method
getWorkspacePackages
* Monorepo workspace member packages, keyed by declared package name. * Returns `null` for single-package repos (no `workspaces` field). * Lets
src/resolution/types.ts:274
↓ 8 callers
Function
isSpace
(c: number)
src/extraction/languages/pascal-preparse.ts:126
↓ 8 callers
Function
is_word
(b: u8)
codegraph-kernel/src/cfnptr.rs:101
↓ 8 callers
Function
join
(from: string, to: string, tail: Tail)
ui/src/lib/program-model.ts:120
↓ 8 callers
Function
linesOf
(file: string)
src/resolution/ruby-parameter-flow.ts:460
↓ 8 callers
Function
memoFor
(context: ResolutionContext)
src/resolution/ambient-modules.ts:619
↓ 8 callers
Function
nextRouteForFile
(filePath: string)
src/resolution/frameworks/nextjs.ts:83
↓ 8 callers
Method
postMessage
(msg: unknown)
src/extraction/parse-pool.ts:40
↓ 8 callers
Function
prepareNodeStatement
(db: SqliteDatabase, sql: string)
src/db/queries.ts:284
↓ 8 callers
Function
projectOf
The project (the directory of the nearest `.vbproj` above it) a file belongs to, or null.
src/resolution/vbnet-receivers.ts:630
↓ 8 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/scala.rs:273
↓ 8 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/rustlang.rs:237
↓ 8 callers
Function
readFields
(s: string, start: number, end: number)
src/resolution/frameworks/object-literal.ts:78
↓ 8 callers
Function
referenceNameTail
(referenceName: string, referenceKind?: string)
src/db/reference-tail.ts:40
↓ 8 callers
Function
register
(f: fn())
__tests__/fixtures/kernel-parity/torture.rs:255
↓ 8 callers
Method
resume
Put a built task on the queue and start it.
__tests__/fixtures/dense-header-ts/src/net/session.ts:264
↓ 8 callers
Method
sees
* Can code in `file` see `decl`: its own, what it includes, or a header * beside it in one translation unit? A project's vendored copy of itself
src/resolution/cpp-template-instantiations.ts:761
↓ 8 callers
Method
send
(body: UploadMessageBody, options: { contentType: string })
__tests__/fixtures/ambient-decls-ts/src/lib/queue.ts:27
↓ 8 callers
Function
staticString
(text: string)
src/resolution/frameworks/angular-router.ts:132
↓ 8 callers
Function
strip_cpp_template_args
stripCppTemplateArgs (languages/c-cpp.ts): depth-counted removal of every balanced `<…>` group; `<` and `>` never reach the output.
codegraph-kernel/src/ccpp/mod.rs:227
↓ 8 callers
Method
terminate
()
src/mcp/query-pool.ts:45
↓ 8 callers
Method
top_row
(&self)
codegraph-kernel/src/dart.rs:315
↓ 8 callers
Method
top_row
(&self)
codegraph-kernel/src/ccpp/mod.rs:514
↓ 8 callers
Method
top_row
(&self)
codegraph-kernel/src/tsjs/mod.rs:340
↓ 8 callers
Function
treeFor
(absPath: string, language: Language)
src/graph/branch-guards.ts:189
↓ 8 callers
Function
typesAround
The VB.NET types a line is written inside, innermost first.
src/resolution/vbnet-receivers.ts:423
↓ 7 callers
Function
__setLoadCodeGraphForTests
(cls: typeof import('../index').default | null)
src/mcp/tools.ts:26
↓ 7 callers
Function
advance
codegraph-kernel/grammars/kotlin/scanner.c:60
↓ 7 callers
Function
argumentSpans
The `[start, end)` spans of the arguments of the call whose `(` is at `open`, split at depth-0 commas.
src/resolution/tauri-synthesizer.ts:96
↓ 7 callers
Method
blank
(start: number, end: number)
src/resolution/strip-comments.ts:243
↓ 7 callers
Function
body_of
resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
codegraph-kernel/src/tsjs/mod.rs:1156
↓ 7 callers
Function
buildDefaultIgnore
(rootDir: string)
src/extraction/index.ts:652
↓ 7 callers
Function
closeParen
The index of the `)` closing the `(` at `open`, or -1.
src/resolution/vbnet-receivers.ts:115
↓ 7 callers
Function
configDirFromEnv
(name: string, fallback: string)
src/installer/targets/shared.ts:49
↓ 7 callers
Function
cppParentScope
(qualified: string)
src/resolution/cpp-type-aliases.ts:792
↓ 7 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/rustlang.rs:260
↓ 7 callers
Function
defaultsOnlyIgnore
* Defaults-only ignore matcher (no root `.gitignore` merged). Used wherever the * parent repo's own ignore rules must NOT apply — inside embedded chi
src/extraction/index.ts:674
↓ 7 callers
Function
directivesOf
(file: string, context: ResolutionContext, memo: Memo)
src/resolution/dart-libraries.ts:407
↓ 7 callers
Function
engine
()
src/lazy-engine.ts:21
↓ 7 callers
Function
escapeRe
(s: string)
src/resolution/tauri-synthesizer.ts:63
↓ 7 callers
Function
escapeRegex
(s: string)
src/resolution/vbnet-receivers.ts:100
↓ 7 callers
Method
extract
* Parse and extract from the source code
src/extraction/tree-sitter.ts:979
↓ 7 callers
Method
extract_name
extractName — the zero-field grammar means the nameField lookup always misses; names come from the shared fallback scan (first direct identifier-famil
codegraph-kernel/src/kotlin.rs:528
↓ 7 callers
Method
extract_name
extractName (tree-sitter.ts:90) — the C#-reachable paths: the `name` field (always present on named declarations), else the shared identifier scan, el
codegraph-kernel/src/csharp.rs:499
↓ 7 callers
Method
extract_name
extractName: extractNameRaw + the universal recoverMangledName net (wired for BOTH c and cpp in languages/c-cpp.ts).
codegraph-kernel/src/ccpp/mod.rs:652
↓ 7 callers
Method
extract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:998
↓ 7 callers
Function
findIndexedFile
( cg: CodeGraph, requested: string )
src/ui-server/api/source.ts:70
↓ 7 callers
Method
findRelevantContext
* Find relevant subgraph for a query * * Combines semantic search with graph traversal to find the most * relevant nodes and their relationsh
src/index.ts:3285
↓ 7 callers
Function
firstArgumentText
( lines: readonly string[], line: number, column: number, method: string )
src/resolution/frameworks/expo-router.ts:421
↓ 7 callers
Method
flushNow
* Drain in-memory state to the buffer, then send completed-day rollups and * lifecycle events. Bounded by `timeoutMs`; leftovers stay buffered for
src/telemetry/index.ts:335
↓ 7 callers
Method
getDetectedFrameworks
* Get detected frameworks in the project
src/index.ts:2331
↓ 7 callers
Method
getGeneratedPathsAmong
* Which of `filePaths` the index flagged as tool-generated (schema v9+). * * Bounded-lookup by design: every consumer already holds a candidate
src/db/queries.ts:4073
↓ 7 callers
Function
hasCodegraphServer
(file: string)
src/installer/targets/json-config.ts:65
↓ 7 callers
Method
hasDefaultCodeGraph
Whether the default project's CodeGraph is open.
src/mcp/engine.ts:201
↓ 7 callers
Function
hasDriftedOnDisk
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:204
↓ 7 callers
Method
indexFiles
* Index specific files * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:977
↓ 7 callers
Function
innermostAt
* The innermost named node containing (row, col). `descendantForPosition` is * the fast path, but some grammars (Swift's `statements`) answer with th
src/graph/branch-guards.ts:1121
↓ 7 callers
Method
insertNodes
* Insert multiple nodes in a transaction
src/db/queries.ts:814
↓ 7 callers
Function
intParam
( query: URLSearchParams, name: string, opts: { min: number; max: number; default?: number } )
src/ui-server/api/respond.ts:159
↓ 7 callers
Method
isEnabled
()
src/telemetry/index.ts:256
↓ 7 callers
Method
isIndexStale
* True when the on-disk index was built by an engine whose extraction is * older than the one now running — i.e. a re-index would add data a migrat
src/index.ts:2244
↓ 7 callers
Method
iterate
(...params: unknown[])
src/db/queries.ts:281
↓ 7 callers
Function
joinRel
(dir: string, rel: string)
src/resolution/import-resolver.ts:670
↓ 7 callers
Method
lines
(file: string)
src/resolution/cpp-template-instantiations.ts:448
↓ 7 callers
Function
linesOf
(filePath: string, context: ResolutionContext)
src/resolution/cpp-type-aliases.ts:198
↓ 7 callers
Function
maskCppCode
* The code the macro scans below match on, at the source's offsets: comments * are spaces, a string or char literal keeps its place as `\x01`s (it is
src/extraction/languages/c-cpp.ts:746
↓ 7 callers
Function
mergeRanges
(ranges: ReadonlyArray<ExploreLineRange>)
src/mcp/explore-dedup.ts:102
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/kotlin.rs:379
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:298
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/go.rs:207
← previous
next →
301–400 of 12,468, ranked by callers