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
↓ 2 callers
Function
read
(file: string, language: Language)
src/resolution/module-importers.ts:96
↓ 2 callers
Function
read
(src: string, method = 'push', line = 1, column = 0)
__tests__/expo-router.test.ts:91
↓ 2 callers
Function
readAnnotation
* The annotation at `at` — `@Name`, `@a.b.Name`, Kotlin's `@field:Name` or * `@[A B]` — with its arguments read as a balanced group, so a `)` in a st
src/resolution/frameworks/java.ts:633
↓ 2 callers
Method
readCall
The method a reference calls, and its receiver as written (null for none).
src/resolution/parameter-flow.ts:101
↓ 2 callers
Function
readCargoWorkspaceCrateMap
(context: ResolutionContext)
src/resolution/frameworks/cargo-workspace.ts:259
↓ 2 callers
Function
readCompileDbIncludeDirs
(dbPath: string, projectRoot: string)
src/resolution/import-resolver.ts:1803
↓ 2 callers
Function
readDaemonLog
(root: string)
__tests__/mcp-daemon.test.ts:164
↓ 2 callers
Function
readDartDirectives
(source: string)
src/resolution/dart-libraries.ts:316
↓ 2 callers
Function
readErrors
(r: IndexResult)
__tests__/index-gone-tracked-files.test.ts:36
↓ 2 callers
Function
readExploreSessionView
(args: Record<string, unknown>)
src/mcp/explore-session-state.ts:344
↓ 2 callers
Function
readFacts
(ctx: ResolutionContext, file: string)
src/resolution/tier-synthesizer.ts:287
↓ 2 callers
Function
readFileShape
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:238
↓ 2 callers
Function
readHrefArgument
( lines: readonly string[], line: number, column: number, method: string )
src/resolution/frameworks/expo-router.ts:410
↓ 2 callers
Function
readIndexedFileText
( cg: CodeGraph, projectRoot: string, requested: string, maxBytes: number )
src/ui-server/api/source.ts:172
↓ 2 callers
Function
readMicrosyntax
(text: string)
src/resolution/angular-template-synthesizer.ts:382
↓ 2 callers
Function
readNodeSpanMatch
First capture of `re` across the node's line span, or null.
src/resolution/frameworks/terraform.ts:225
↓ 2 callers
Function
readOnlyGitEnv
* The environment for the git commands change detection runs, which only read. * * With git's "optional locks" on, `git status` writes the stat info
src/extraction/index.ts:1719
↓ 2 callers
Function
readOnlyRefusal
(reason: string | null)
src/ui-server/api/trails.ts:389
↓ 2 callers
Function
readPackageJson
* A package.json as an object, read past a byte order mark; null when it is * missing, not a regular file (a FIFO or a device would block or flood th
src/resolution/index.ts:385
↓ 2 callers
Function
readProjectScans
( context: ResolutionContext, queries: QueryBuilder, fileProbes: Map<string, boolean>, maxFiles: numbe
src/resolution/project-scans.ts:40
↓ 2 callers
Function
readSourceOrStamp
* What change detection hashes for a file: its text when it is under the size * limit, the size stamp when it is over — an oversize file is never dec
src/extraction/index.ts:217
↓ 2 callers
Function
readString
The string literal at `i` — `'…'`, `"…"`, triple-quoted or raw — as its value and the index past it, or null.
src/resolution/dart-libraries.ts:113
↓ 2 callers
Function
readText
(file: string)
src/resolution/ruby-parameter-flow.ts:445
↓ 2 callers
Function
readText
(abs: string)
src/ui-server/api/when.ts:172
↓ 2 callers
Function
readThrough
* A read of `member` through one of `owners` (the parts of the type its * receiver names): the member, and the type as a second target — unless the
src/resolution/vbnet-receivers.ts:1568
↓ 2 callers
Function
readTsconfigLike
(filePath: string)
src/resolution/path-aliases.ts:235
↓ 2 callers
Function
readWorkspaceGlobs
Read workspace glob patterns from package.json + pnpm-workspace.yaml.
src/resolution/workspace-packages.ts:861
↓ 2 callers
Function
readWriterPid
(root: string)
__tests__/mcp-writer-lock.test.ts:47
↓ 2 callers
Method
rearmAfterLockContention
* Re-arm a watcher disabled by lock contention when a caller next uses the * graph. Keep the whole-index stale banner until a FULL scan reconciles
src/sync/watcher.ts:917
↓ 2 callers
Method
rebind
* Swap the underlying connection in place. Used by pool workers' * connection recycling (plan §7a.6, writes-under-readers): a long-lived * read
src/db/queries.ts:605
↓ 2 callers
Method
rebuildNameSegmentVocab
* Rebuild the segment vocabulary from the current graph, batched and * yielding — the upgrade-heal path for indexes built before the vocab table
src/index.ts:2931
↓ 2 callers
Method
receiver_of
dartReceiverOf (dart.ts) — the receiver of the member access `selector`: the node in front of it, past comments, or the end of an arrow function's bod
codegraph-kernel/src/dart.rs:1408
↓ 2 callers
Method
receiver_type_of
getReceiverType — extension functions: the `receiver_type` child's user_type (a nullable or function-type receiver gives none); its FIRST type_identif
codegraph-kernel/src/kotlin.rs:655
↓ 2 callers
Method
receiver_type_of
rustExtractor.getReceiverType: parent-walk to the nearest impl_item and read its `type` field (impl_type_name). The pre-#1588 rule took the LAST direc
codegraph-kernel/src/rustlang.rs:439
↓ 2 callers
Method
receiver_type_of
extractCppReceiverType (languages/c-cpp.ts): the scopes are what the qualified id writes before its name, so a specialization's arguments (`ReadPrimit
codegraph-kernel/src/ccpp/mod.rs:952
↓ 2 callers
Function
record
(into: GoStructType, field: string, outcome: ValueOutcome, file: string, line: number)
src/resolution/go-func-field-synthesizer.ts:648
↓ 2 callers
Function
record
( fn: Node, hop: HopSite, guards: readonly BranchGuard[], what: { step?: string; link?: string
src/ui-server/api/steps.ts:685
↓ 2 callers
Method
record
* File an emission. Returns the record as stored (with its session call * index), or `null` if the emission was unusable.
src/mcp/explore-session-state.ts:220
↓ 2 callers
Function
recordBetaSignupChoice
( subscribed: boolean, deps: BetaSignupDeps = {}, )
src/installer/beta-signup.ts:59
↓ 2 callers
Method
recordDedup
* Source this call withheld because the session already holds it (CG-18). * Called with `(path, 0, [])` to clear a record — the anti-abandonment re
src/mcp/explore-diagnostics.ts:462
↓ 2 callers
Function
recordIndexTelemetry
* Telemetry for a completed full index (see TELEMETRY.md). The bounded flush * keeps init/index responsive (these commands just ran for seconds anywa
src/bin/codegraph.ts:713
↓ 2 callers
Function
recordPath
* One record per project, so it is keyed the same way the daemon socket is: * over {@link canonicalProjectRoot}, not a raw `path.resolve` — otherwise
src/mcp/daemon-registry.ts:70
↓ 2 callers
Method
recordRender
A candidate rendered source into the response.
src/mcp/explore-diagnostics.ts:447
↓ 2 callers
Function
record_is_struct
classifyClassNode (languages/csharp.ts): a record_declaration with an anonymous `struct` keyword child is a record struct.
codegraph-kernel/src/csharp.rs:258
↓ 2 callers
Function
recordedPids
(fixture: string)
__tests__/daemon-candidates.ts:26
↓ 2 callers
Function
recoverCppMacroDefinedName
* Recover the real function name from the macro-definition idiom * `MACRO_NAME(real_name, typed args…) { body }` — flash-attention's * `DEFINE_FLASH
src/extraction/languages/c-cpp.ts:328
↓ 2 callers
Function
recoverSingleArgMacroDefinedName
* Single-argument macros are ambiguous without their definition (#1373). * Require a preceding local #define whose replacement uses its sole paramete
src/extraction/languages/c-cpp.ts:266
↓ 2 callers
Method
recover_cpp_macro_defined_name
recoverCppMacroDefinedName (languages/c-cpp.ts:49).
codegraph-kernel/src/ccpp/mod.rs:905
↓ 2 callers
Method
recycle
Tear down a worker that has hit its recycle threshold and replace it. Not a * crash, so it doesn't count against the budget.
src/extraction/parse-pool.ts:404
↓ 2 callers
Function
ref
(name: string)
__tests__/ui-screens-model.test.ts:56
↓ 2 callers
Function
ref
(name: string)
__tests__/ui-flow-model.test.ts:102
↓ 2 callers
Function
ref
(name: string)
__tests__/ui-export-svg.test.ts:59
↓ 2 callers
Method
ref
The reference to `name` written in `file`, in the function `from`.
__tests__/resolution-order-independence.test.ts:38
↓ 2 callers
Function
reference
(from: Node, referenceName: string)
src/resolution/frameworks/drupal.ts:354
↓ 2 callers
Function
refreshDaemonLock
( pidPath: string, initialContents: string, lock: DaemonLockInfo, platform: NodeJS.Platform = process.
src/mcp/daemon.ts:767
↓ 2 callers
Function
refreshMeta
()
telemetry-dashboard/public/app.js:366
↓ 2 callers
Method
refreshSynthesis
Replace synthesis only after every base-resolution pass has finished.
src/resolution/index.ts:3417
↓ 2 callers
Function
refreshTargets
( targets: readonly AgentTarget[], location: Location, )
src/installer/index.ts:427
↓ 2 callers
Function
refsFrom
(code: string, qualifiedName: string, kind = 'calls')
__tests__/pascal-chained-calls.test.ts:76
↓ 2 callers
Function
region
(n: string)
__tests__/ui-steps-model.test.ts:464
↓ 2 callers
Function
regionOf
(from: StepRecord, chain: readonly Node[])
src/ui-server/api/steps.ts:1070
↓ 2 callers
Method
register
__tests__/fixtures/kernel-parity/torture.kt:152
↓ 2 callers
Function
registerStructLayout
(name: string, fields: FieldInfo[])
src/resolution/c-fnptr-synthesizer.ts:845
↓ 2 callers
Function
reindex
Re-index in place, the way a `codegraph sync` would after an edit.
__tests__/ui-trails.test.ts:184
↓ 2 callers
Method
reinitializeResolver
* Re-initialize the resolver (useful after adding new files)
src/index.ts:2389
↓ 2 callers
Function
relation
(over: Partial<WireRelation> & { node?: any } = {})
__tests__/ui-symbol-model.test.ts:49
↓ 2 callers
Function
relationWhens
(relation: WireRelation)
ui/src/lib/symbol-model.ts:88
↓ 2 callers
Function
relationships
(node: Node, edges: Edge[])
src/bin/codegraph.ts:2633
↓ 2 callers
Function
relative
(source: string)
src/resolution/import-resolver.ts:3794
↓ 2 callers
Function
relaunchWithWasmRuntimeFlagsIfNeeded
(scriptPath: string)
src/extraction/wasm-runtime-flags.ts:126
↓ 2 callers
Method
releaseIdleMemory
* A query worker kept through a quiet spell gives back what it can without * going cold: every project but the last one used closes, and what stays
src/mcp/tools.ts:2732
↓ 2 callers
Function
remember
The `web-tree-sitter` trees held above are native memory: evict explicitly.
src/graph/branch-guards.ts:177
↓ 2 callers
Function
removeDaemonArtifacts
The removal behind {@link cleanupDaemonArtifacts}, for a caller already holding the writer slot.
src/mcp/daemon-registry.ts:195
↓ 2 callers
Function
removeDatabaseFiles
(dbPath: string)
src/db/index.ts:1045
↓ 2 callers
Function
removeGitSyncHook
( projectRoot: string, hooks: GitHookName[] = DEFAULT_SYNC_HOOKS, )
src/sync/git-hooks.ts:289
↓ 2 callers
Function
removeHookCommandsMatching
* Remove stale codegraph auto-sync hooks from Claude `settings.json`. * * Surgical at the individual-command level: only entries matching * `isLega
src/installer/targets/claude.ts:363
↓ 2 callers
Function
removeLink
Remove a link itself, never what it points at, when there is one.
__tests__/ui-trails.test.ts:147
↓ 2 callers
Function
removeMcpEntryAt
* Surgically drop our CodeGraph entry from one config file — either the * OpenCode 2 native `mcp.servers.codegraph` or a pre-#1698 `mcp.codegraph`.
src/installer/targets/opencode.ts:273
↓ 2 callers
Function
removeRulesEntry
* Remove the Cursor rules file on uninstall (and as a self-heal on * install — see issue #529). * * Unlike the shared CLAUDE.md / AGENTS.md files (
src/installer/targets/cursor.ts:209
↓ 2 callers
Function
removeSteeringEntry
* Delete the steering file we own. If a user has hand-edited the file * out of recognition we still remove it — codegraph.md is a name we * claim, a
src/installer/targets/kiro.ts:158
↓ 2 callers
Function
removeTomlTable
( fileContent: string, header: string, )
src/installer/targets/toml.ts:145
↓ 2 callers
Function
render
()
telemetry-dashboard/public/app.js:433
↓ 2 callers
Function
render
(widgetCount: number, sampleCount: number, loading: boolean)
__tests__/fixtures/factory-closure-ts/src/ui/panel.ts:31
↓ 2 callers
Method
render
()
__tests__/fixtures/kernel-parity/torture.js:33
↓ 2 callers
Method
render
__tests__/fixtures/kernel-parity/torture.kt:81
↓ 2 callers
Function
renderCodeGraphServer
The entry CodeGraph writes into a new install, with its key at `indent` spaces.
src/installer/targets/hermes.ts:279
↓ 2 callers
Function
renderEntry
()
src/installer/targets/dsh.ts:94
↓ 2 callers
Function
renderLoginPage
({ next, error, nonce }: LoginPageOptions)
telemetry-dashboard/src/login-page.ts:27
↓ 2 callers
Function
renderedLines
Every `<n>\t<text>` line number present in the response's source blocks.
scripts/agent-eval/probe-named-symbol.mjs:70
↓ 2 callers
Function
renderedLines
Every `<n>\t<text>` line number the response sent for `file`.
__tests__/explore-merged-spine-cluster.test.ts:223
↓ 2 callers
Function
renderedLines
Every `<n>\t<text>` line number the response actually sent.
__tests__/explore-named-symbol-render.test.ts:46
↓ 2 callers
Function
renders
(s: RouteScope)
src/resolution/frameworks/react.ts:1347
↓ 2 callers
Method
reopenNavigationsFor
* Put back in the pending set the navigation calls `routes` — route nodes a * sync added, removed or renamed ({@link changedRoutes}) — may now reso
src/resolution/index.ts:3653
↓ 2 callers
Method
replaceSynthesisInputs
Record the files synthesis read; a path the index doesn't hold as a file (a package directory) is not one (#2565).
src/db/queries.ts:2674
↓ 2 callers
Method
reply
(id: number, result: ToolResult)
__tests__/query-pool.test.ts:59
↓ 2 callers
Function
reportableOpenFailure
* Why the default project failed to open, when a tool call should say so * rather than "no project loaded": the Windows/WSL shared index (#995), or a
src/mcp/engine.ts:43
↓ 2 callers
Function
request
Send a JSON-RPC request and resolve with the response matching its id.
__tests__/mcp-lazy-watchdog.test.ts:43
↓ 2 callers
Function
request
(requestPath: string)
__tests__/ui-filecode-api.test.ts:35
↓ 2 callers
Function
request
(requestPath: string)
__tests__/ui-flow-api.test.ts:43
↓ 2 callers
Function
request
(requestPath: string)
__tests__/ui-map-api.test.ts:42
← previous
next →
3,301–3,400 of 13,088, ranked by callers