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
↓ 9 callers
Method
getPendingFiles
* Files seen by the file watcher since the last successful sync — * the per-file "stale" signal MCP tools attach to responses so an agent * can
src/index.ts:2193
↓ 9 callers
Method
getRetryableFailedReferences
* Failed refs whose name tail matches one of the given symbol names — the * candidates a sync should retry after files carrying those names changed
src/db/queries.ts:5025
↓ 9 callers
Method
getStatus
* Resolution order (first match wins) — keep in sync with TELEMETRY.md: * DO_NOT_TRACK=1 > CODEGRAPH_TELEMETRY=0|1 > stored config > default on.
src/telemetry/index.ts:235
↓ 9 callers
Method
getUnresolvedReferencesCount
* Get the count of PENDING (never-attempted) references without loading * them into memory. Rows marked status='failed' — attempted by a completed
src/db/queries.ts:4621
↓ 9 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:283
↓ 9 callers
Method
info
(stream: ReadableStream<Uint8Array>)
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:238
↓ 9 callers
Method
insertUnresolvedRef
* Insert an unresolved reference
src/db/queries.ts:4471
↓ 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
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/rustlang.rs:235
↓ 9 callers
Function
query
(params: URLSearchParams)
ui/src/lib/adapter.ts:283
↓ 9 callers
Method
replaceResolutionEdgesWithUnresolvedRefs
( edgeIds: number[], refs: UnresolvedReference[] )
src/db/queries.ts:5808
↓ 9 callers
Method
resume
Put a built task on the queue and start it.
__tests__/fixtures/dense-header-ts/src/net/session.ts:264
↓ 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
top_row
(&self)
codegraph-kernel/src/tsjs/mod.rs:356
↓ 9 callers
Method
unwatch
* Stop watching for file changes.
src/index.ts:2140
↓ 8 callers
Function
$
(root, role)
telemetry-dashboard/public/app.js:118
↓ 8 callers
Function
__setLoadCodeGraphForTests
(cls: typeof import('../index').default | null)
src/mcp/tools.ts:26
↓ 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
body_of
resolveBody ?? getChildByField(node, 'body') — the body-walk resolution.
codegraph-kernel/src/tsjs/mod.rs:1182
↓ 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
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:2366
↓ 8 callers
Method
extract_function
(&mut self, node: Node<'t>, name_override: Option<String>)
codegraph-kernel/src/tsjs/extractors.rs:29
↓ 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:503
↓ 8 callers
Function
finish
( peers: ClientHelloPeers, putBack?: Buffer, )
src/mcp/daemon.ts:1134
↓ 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:308
↓ 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:3268
↓ 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:2896
↓ 8 callers
Method
getPath
* Get database file path
src/db/index.ts:634
↓ 8 callers
Method
getProjectRoot
Get project root
src/resolution/types.ts:163
↓ 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:43
↓ 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:271
↓ 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
Function
scanCall
(safe: string, open: number)
src/resolution/frameworks/express.ts:391
↓ 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/rustlang.rs:224
↓ 8 callers
Method
top_row
(&self)
codegraph-kernel/src/dart.rs:360
↓ 8 callers
Method
top_row
(&self)
codegraph-kernel/src/ccpp/mod.rs:512
↓ 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
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
blankStringContents
(text: string, regexLiterals?: number[])
src/resolution/strip-comments.ts:40
↓ 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:50
↓ 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:258
↓ 7 callers
Function
dartPrevNamed
* The named sibling before `node`, past any comments. A Dart member chain is * an identifier followed by sibling selectors, and the grammar keeps a c
src/extraction/languages/dart.ts:152
↓ 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:1015
↓ 7 callers
Method
extractDecoratorsFor
* Scan `declNode` and its preceding siblings (within the parent's * named children) for decorator nodes, emitting a `decorates` * reference from
src/extraction/tree-sitter.ts:7403
↓ 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:527
↓ 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:508
↓ 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:650
↓ 7 callers
Method
extract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:1024
↓ 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:3358
↓ 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:2382
↓ 7 callers
Function
getExploreOutputBudget
(fileCount: number)
src/mcp/tools.ts:323
↓ 7 callers
Method
getFileDependents
* Get dependents of a file * * @param filePath - Path to the file * @param opts - `skipTiers`: leave out links across a process boundary (a
src/index.ts:3281
↓ 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:4184
↓ 7 callers
Function
getGitChangedFiles
(rootDir: string, sinceCommit?: string | null)
src/extraction/index.ts:1649
↓ 7 callers
Method
getIndexState
* Completeness of the last full index run. `'complete'` is the only good * state. `'indexing'` after the fact means a run was killed mid-index (OOM
src/index.ts:2268
↓ 7 callers
Method
getNodesInFileNamed
`getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file.
src/resolution/types.ts:103
↓ 7 callers
Method
getReExports
* Re-exports declared by a file (`export { x } from './other'`, * `export * from './other'`). Empty array when the file has none. * Optional so
src/resolution/types.ts:290
↓ 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:211
↓ 7 callers
Function
hasDriftedOnDisk
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:204
← previous
next →
301–400 of 13,088, ranked by callers