Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,347 in github.com/colbymchenry/codegraph
⨍
Functions
13,347
◇
Types & classes
1,990
↳
Endpoints
1
↓ 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:411
↓ 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:386
↓ 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:390
↓ 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:2939
↓ 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:1404
↓ 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:707
↓ 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:435
↓ 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:954
↓ 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:723
↓ 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:257
↓ 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:330
↓ 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:268
↓ 2 callers
Method
recover_cpp_macro_defined_name
recoverCppMacroDefinedName (languages/c-cpp.ts:49).
codegraph-kernel/src/ccpp/mod.rs:907
↓ 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:355
↓ 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:3489
↓ 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:2397
↓ 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:2686
↓ 2 callers
Function
relative
(source: string)
src/resolution/import-resolver.ts:3796
↓ 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:2774
↓ 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:3725
↓ 2 callers
Function
repeat
(count: number, unit: (i: number) => string, head = '', tail = '')
__tests__/kernel-large-file-parity.test.ts:58
↓ 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
↓ 2 callers
Method
requestParse
* Parse one file on the pool. Resolves with the extraction result, or REJECTS * if the parse times out or its worker crashes — the caller records t
src/extraction/parse-pool.ts:310
↓ 2 callers
Function
requestedViewerCommand
(args: readonly string[])
src/bin/viewer-gate.ts:25
↓ 2 callers
Method
requeueFailedReferencesByLanguage
* Return a language's parked (status='failed') refs to the pending set — * all of them, or only those naming one of `segments` as a dotted part
src/db/queries.ts:5634
↓ 2 callers
Function
requireModule
* If `callNode` is a `require(...)` call, return the module name; otherwise null. * Lua/Luau have no import statement — modules are loaded by calling
src/extraction/languages/lua.ts:29
↓ 2 callers
Function
resetEntryPointsCache
()
src/ui-server/api/entrypoints.ts:158
↓ 2 callers
Function
reset_state
codegraph-kernel/grammars/lua/scanner.c:49
↓ 2 callers
Function
resolve
Fill in the name/kind of a hop once its node has been fetched.
ui/src/lib/trail.svelte.ts:111
↓ 2 callers
Function
resolveAliasBinding
( aliasNode: Node, memberName: string | null, context: ResolutionContext )
src/resolution/alias-binding.ts:76
↓ 2 callers
Method
resolveAndPersistListYielding
* Yielding counterpart of {@link resolveAndPersist} for a caller-supplied * ref list — used by sync's failed-ref retry pass (#1240). Same persisten
src/resolution/index.ts:2561
↓ 2 callers
Function
resolveByReceiver
(caller: Node, callee: string)
src/ui-server/api/steps.ts:567
← previous
next →
3,401–3,500 of 13,347, ranked by callers