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
↓ 7 callers
Method
indexFiles
* Index specific files * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:980
↓ 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
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:2295
↓ 7 callers
Method
iterate
(...params: unknown[])
src/db/queries.ts:281
↓ 7 callers
Function
joinRel
(dir: string, rel: string)
src/resolution/import-resolver.ts:686
↓ 7 callers
Function
lineAt
(safe: string, index: number)
src/resolution/frameworks/nestjs.ts:730
↓ 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
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:378
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:296
↓ 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:319
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/php.rs:314
↓ 7 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/ccpp/mod.rs:522
↓ 7 callers
Function
readHrefViaLocal
( lines: readonly string[], line: number, column: number, method: string, enclosingStart: number )
src/resolution/frameworks/expo-router.ts:481
↓ 7 callers
Function
real
realpath so macOS /var → /private/var symlinking doesn't break equality.
__tests__/worktree-detection.test.ts:35
↓ 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
Function
resolveServerRoot
( searchFrom: string, opts: { subprojectScan?: boolean } = {}, )
src/directory.ts:503
↓ 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:143
↓ 7 callers
Method
text
()
src/resolution/strip-comments.ts:256
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/kotlin.rs:348
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/csharp.rs:289
↓ 7 callers
Method
top_row
(&self)
codegraph-kernel/src/php.rs:284
↓ 7 callers
Method
truncateOutput
* Truncate output if it exceeds the maximum length
src/mcp/tools.ts:9153
↓ 7 callers
Function
unescaped
`Name` for an escaped `[Name]`.
src/resolution/vbnet-receivers.ts:1482
↓ 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:431
↓ 7 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:1083
↓ 7 callers
Method
waitFor
Wait for an event of `type`, or give up. Never polls the server.
__tests__/ui-events-api.test.ts:149
↓ 6 callers
Function
__emitWatchEventForTests
(projectRoot: string, relPath: string)
src/sync/watcher.ts:1236
↓ 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:2915
↓ 6 callers
Function
applyAliases
( importPath: string, aliases: AliasMap, projectRoot: string )
src/resolution/path-aliases.ts:363
↓ 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:1311
↓ 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:3394
↓ 6 callers
Function
bytes_to_string
(bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1141
↓ 6 callers
Function
canProbeDaemonIdentity
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:120
↓ 6 callers
Function
canonicalProjectRoot
(projectRoot: string)
src/directory.ts:332
↓ 6 callers
Function
clamp
(value: number, min: number, max: number)
src/utils.ts:418
↓ 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:40
↓ 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
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:273
↓ 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
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:488
↓ 6 callers
Function
describeSynthesizedHop
(edge: Edge | null | undefined)
src/graph/synthesized-hop.ts:39
↓ 6 callers
Function
draw
__tests__/fixtures/kernel-parity/torture.kt:236
↓ 6 callers
Function
escapeRe
(s: string)
src/resolution/event-emitter-synthesizer.ts:827
↓ 6 callers
Function
exists
(relativePath: string)
src/extraction/grammars.ts:307
↓ 6 callers
Method
extract
* Extract framework-specific nodes and references from a file. * * Returns route nodes, middleware nodes, etc., plus unresolved references *
src/resolution/types.ts:427
↓ 6 callers
Method
extractTypeAnnotations
* Extract type references from type annotations on a function/method/field node. * Creates 'references' edges for parameter types, return types, an
src/extraction/tree-sitter.ts:8681
↓ 6 callers
Method
extract_name
(&self, node: Node)
codegraph-kernel/src/java.rs:483
↓ 6 callers
Method
extract_name
extractName — nameField `name`, else the identifier-like child scan.
codegraph-kernel/src/rustlang.rs:356
↓ 6 callers
Method
extract_name
(&self, node: Node)
codegraph-kernel/src/php.rs:414
↓ 6 callers
Function
facts
(src: &str)
codegraph-kernel/src/cfnptr.rs:1269
↓ 6 callers
Function
findAllSymbols
(cg: CodeGraph, symbol: string)
src/graph/named-symbol-flow.ts:53
↓ 6 callers
Function
findNearestCodeGraphRoot
(startPath: string)
src/directory.ts:365
↓ 6 callers
Function
formatNumber
* Format a number with commas
src/bin/codegraph.ts:298
↓ 6 callers
Function
from
(path: string)
__tests__/expo-router.test.ts:738
↓ 6 callers
Function
fullSegments
A node's full qualified name as segments: its project's root namespace, then its namespaces and types.
src/resolution/vbnet-receivers.ts:678
↓ 6 callers
Method
getChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/graph/traversal.ts:843
↓ 6 callers
Method
getIndexBuildInfo
* Which engine built the current index: the package version + extraction * version stamped at the last full `indexAll`. Either field is null for an
src/index.ts:2281
↓ 6 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:2422
↓ 6 callers
Function
getTarget
(id: string)
src/installer/targets/registry.ts:55
↓ 6 callers
Function
goPackageReaderFor
(cg: { getProjectRoot(): string })
src/graph/go-package.ts:31
↓ 6 callers
Function
hashContent
(content: string)
src/extraction/index.ts:204
↓ 6 callers
Function
inBlock
( node: Pick<Node, 'startLine' | 'startColumn'>, block: Pick<AmbientModuleBlock, 'startLine' | 'startColum
src/resolution/ambient-modules.ts:673
↓ 6 callers
Function
initializerAt
(body: string, at: number)
src/resolution/frameworks/react.ts:1764
↓ 6 callers
Function
isCFamily
(n: Node)
src/resolution/cpp-supertypes.ts:84
↓ 6 callers
Function
isFileLevelOnlyLanguage
(language: Language)
src/extraction/grammars.ts:1062
↓ 6 callers
Function
isPlayRoutesFile
(filePath: string)
src/extraction/grammars.ts:328
↓ 6 callers
Method
isWatcherDegraded
* True once live watching has degraded, or while a re-armed watcher has not * completed its full catch-up. Distinct from `!isWatching()`: a stopped
src/index.ts:2162
↓ 6 callers
Method
is_exported
isExported: walk the parent chain for an export_statement, then ask whether a `declare module '…'` / `declare global` body exports it.
codegraph-kernel/src/tsjs/mod.rs:1084
↓ 6 callers
Function
is_upper_camel
The UpperCamel test of isDartTypeName (`/^[_$]*[A-Z]/`) — how Dart writes a type, `_Private` and `$Generated` ones included.
codegraph-kernel/src/dart.rs:107
↓ 6 callers
Function
is_word_char
Test for any identifier character other than the first character. This is meant to match the regexp [\p{L}_\p{Nd}] as found in '_alpha_identifier' (se
codegraph-kernel/grammars/kotlin/scanner.c:433
↓ 6 callers
Function
joinPath
(base: string, resource: string)
__tests__/fixtures/factory-closure-ts/src/lib/http.ts:21
↓ 6 callers
Method
json
()
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:29
↓ 6 callers
Function
lineOf
(facts: FileFacts, index: number)
src/resolution/event-emitter-synthesizer.ts:205
↓ 6 callers
Function
lines
(...l: string[])
__tests__/cpp-template-instantiations.test.ts:26
↓ 6 callers
Function
loadParsedConfig
* Load the parsed `codegraph.json` for a project, mtime-cached. A missing or * malformed file yields the zero-config default. One `stat` (and at most
src/project-config.ts:361
↓ 6 callers
Function
loadWebRoot
(rootDir: string)
src/project-config.ts:448
← previous
next →
401–500 of 13,088, ranked by callers