Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,683 in github.com/colbymchenry/codegraph
⨍
Functions
13,683
◇
Types & classes
2,010
↳
Endpoints
1
↓ 7 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/rustlang.rs:269
↓ 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:151
↓ 7 callers
Function
declarationInScope
* The first declaration a bare name reaches from a routine of class `cls` * (null: a free routine), whatever it declares: a routine nested in the *
src/resolution/pascal-scope.ts:997
↓ 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:65
↓ 7 callers
Function
escapeRegex
(s: string)
src/resolution/vbnet-receivers.ts:101
↓ 7 callers
Method
extract
* Parse and extract from the source code
src/extraction/tree-sitter.ts:1050
↓ 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:7427
↓ 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:584
↓ 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:505
↓ 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:654
↓ 7 callers
Method
extract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:1018
↓ 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:3388
↓ 7 callers
Function
firstArgumentText
( lines: readonly string[], line: number, column: number, method: string )
src/resolution/frameworks/expo-router.ts:422
↓ 7 callers
Function
formatNumber
* Format a number with commas
src/bin/codegraph.ts:300
↓ 7 callers
Method
getDetectedFrameworks
* Get detected frameworks in the project
src/index.ts:2407
↓ 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:3311
↓ 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:1762
↓ 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:2290
↓ 7 callers
Method
getJournalMode
* The journal mode actually in effect ('wal', 'delete', …). 'wal' means * readers never block on a concurrent writer; anything else means they can,
src/index.ts:2447
↓ 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
↓ 7 callers
Function
importsBoundTo
(imports: ImportMapping[], name: string)
src/resolution/import-lookup.ts:49
↓ 7 callers
Method
indexFiles
* Index specific files * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:1006
↓ 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:816
↓ 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
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:2317
↓ 7 callers
Method
iterate
(...params: unknown[])
src/db/queries.ts:281
↓ 7 callers
Function
lineCommentEnd
(source: string, i: number)
src/extraction/languages/cpp-brace-scopes.ts:104
↓ 7 callers
Method
lines
(file: string)
src/resolution/cpp-template-instantiations.ts:448
↓ 7 callers
Function
make
(overrides: Partial<ConstructorParameters<typeof Telemetry>[0]> = {})
__tests__/telemetry.test.ts:40
↓ 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:747
↓ 7 callers
Function
mergeRanges
(ranges: ReadonlyArray<ExploreLineRange>)
src/mcp/explore-dedup.ts:102
↓ 7 callers
Function
ownerOf
The qualified name of what declares a node (`TFoo::Bar` → `tfoo`), lowercased.
src/resolution/pascal-scope.ts:2157
↓ 7 callers
Function
parentDir
(dir: string)
src/resolution/import-resolver.ts:688
↓ 7 callers
Function
preParsePascal
(source: string)
src/extraction/languages/pascal-preparse.ts:1063
↓ 7 callers
Function
prev_named
dartPrevNamed (dart.ts) — the named sibling before `node`, past comments: `tester //` + newline + `.state(…)` puts the comment, not `tester`, right be
codegraph-kernel/src/dart.rs:189
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/kotlin.rs:436
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:295
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/go.rs:205
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/csharp.rs:318
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/php.rs:313
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/ccpp/mod.rs:526
↓ 7 callers
Function
readHrefViaLocal
( lines: readonly string[], line: number, column: number, method: string, enclosingStart: number )
src/resolution/frameworks/expo-router.ts:482
↓ 7 callers
Function
real
realpath so macOS /var → /private/var symlinking doesn't break equality.
__tests__/worktree-detection.test.ts:35
↓ 7 callers
Method
recordLifecycle
install / index / uninstall — buffered like everything else.
src/telemetry/index.ts:460
↓ 7 callers
Function
removeCodegraphServer
(file: string, alsoEdit: Edit = noEdit)
src/installer/targets/json-config.ts:118
↓ 7 callers
Function
removeInstructionsEntry
(file: string)
src/installer/targets/shared.ts:488
↓ 7 callers
Function
reopenEdges
* Swap for their references the edges of each importer's references through * its bound names — the binding itself or a member read through it * (`O
src/resolution/module-importers.ts:883
↓ 7 callers
Method
resolveAndPersistBatched
* Resolve and persist in batches to keep memory bounded. * Processes unresolved references in chunks, persisting edges and cleaning * up resolve
src/resolution/index.ts:2885
↓ 7 callers
Function
resolveServerRoot
( searchFrom: string, opts: { subprojectScan?: boolean } = {}, )
src/directory.ts:504
↓ 7 callers
Method
retryInitializeSync
* Synchronous last-resort init used by the per-session retry loop when the * background `ensureInitialized` already finished (or failed) and we nee
src/mcp/engine.ts:264
↓ 7 callers
Function
scopesWithin
Scopes visible from inside the scope `qualified`, innermost first, ending with the global scope.
src/resolution/cpp-type-aliases.ts:179
↓ 7 callers
Function
sliceLines
(content: string, startLine?: number, endLine?: number)
src/resolution/callback-synthesizer.ts:145
↓ 7 callers
Method
text
()
src/resolution/strip-comments.ts:256
↓ 7 callers
Function
textOf
The source of `node`'s lines, and the offset it starts at.
src/resolution/event-emitter-synthesizer.ts:273
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/kotlin.rs:406
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/csharp.rs:288
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/php.rs:283
↓ 7 callers
Method
truncateOutput
* Truncate output if it exceeds the maximum length
src/mcp/tools.ts:9428
↓ 7 callers
Function
unescaped
`Name` for an escaped `[Name]`.
src/resolution/vbnet-receivers.ts:1483
↓ 7 callers
Function
unitFilesOf
* The files one unit is made of: its own file, then the include files it * pulls in (`{$I name.inc}`, `{$INCLUDE name}`), nested ones too. For an *
src/resolution/pascal-scope.ts:2426
↓ 7 callers
Function
upsertCodegraphServer
( file: string, entry: Record<string, unknown>, alsoEdit: Edit = noEdit, )
src/installer/targets/json-config.ts:78
↓ 7 callers
Method
visibility_of
getVisibility: FIRST `modifier` child whose text is one of the four levels wins; none → public in an interface, internal in a namespace or the file, p
codegraph-kernel/src/csharp.rs:430
↓ 7 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:1095
↓ 7 callers
Method
waitFor
Wait for an event of `type`, or give up. Never polls the server.
__tests__/ui-events-api.test.ts:149
↓ 7 callers
Function
walk
(absDir: string)
src/extraction/index.ts:821
↓ 6 callers
Function
advance_past_blanks
codegraph-kernel/grammars/scala/scanner.c:237
↓ 6 callers
Function
aliasedTypeIn
* What an alias of `name` declares in `text`, as written: `SkipList<const * char*, KeyComparator>` for `typedef SkipList<const char*, KeyComparator>
src/resolution/cpp-type-aliases.ts:245
↓ 6 callers
Method
answerResult
(cg: CodeGraph, text: string, paths: Iterable<string>)
src/mcp/tools.ts:3074
↓ 6 callers
Function
applyAliases
( importPath: string, aliases: AliasMap, projectRoot: string )
src/resolution/path-aliases.ts:364
↓ 6 callers
Function
assertNoRebuild
(root: string)
src/mcp/writer-lock.ts:260
↓ 6 callers
Function
bindingsOf
* Per importer, what its statements naming the modules import: the modules * named whole (not the package around one), and the local names bound. An
src/resolution/module-importers.ts:854
↓ 6 callers
Function
blankCppAnnotationMacroCalls
(source: string, options: { keepCReturnTypes?: boolean } = {})
src/extraction/languages/c-cpp.ts:1312
↓ 6 callers
Method
buildContext
* Build context for a task * * Creates comprehensive context by: * 1. Running FTS search to find entry points * 2. Expanding the graph aro
src/index.ts:3424
↓ 6 callers
Function
bytes_to_string
(bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1151
↓ 6 callers
Function
canProbeDaemonIdentity
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:173
↓ 6 callers
Function
canonicalProjectRoot
(projectRoot: string)
src/directory.ts:333
↓ 6 callers
Function
clamp
(value: number, min: number, max: number)
src/utils.ts:443
↓ 6 callers
Method
clear
Drop everything. Used by tests; a real session just goes away instead.
src/mcp/explore-session-state.ts:279
↓ 6 callers
Function
collapse
(text: string)
src/graph/branch-guards.ts:910
↓ 6 callers
Function
collapseWs
(text: string)
src/extraction/languages/erlang.ts:41
↓ 6 callers
Function
collect
(n: SyntaxNode)
src/graph/branch-guards.ts:2153
↓ 6 callers
Function
constructor_trivia
codegraph-kernel/grammars/kotlin/scanner.c:653
↓ 6 callers
Function
createResolver
(projectRoot: string, queries: QueryBuilder)
src/resolution/index.ts:5309
↓ 6 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/lua.rs:201
↓ 6 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/go.rs:225
↓ 6 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ruby.rs:278
↓ 6 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/scala.rs:295
↓ 6 callers
Function
cut
(text: string, max: number)
src/graph/branch-guards.ts:914
↓ 6 callers
Function
dbOf
(dir: string)
__tests__/read-commands-during-rebuild.test.ts:96
↓ 6 callers
Function
describeSynthesizedHop
(edge: Edge | null | undefined)
src/graph/synthesized-hop.ts:39
← previous
next →
401–500 of 13,683, ranked by callers