Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
12,468 in github.com/colbymchenry/codegraph
⨍
Functions
12,468
◇
Types & classes
1,929
↳
Endpoints
1
↓ 2 callers
Function
pythonModulePath
(source: string, fromFile: string)
src/resolution/import-resolver.ts:4778
↓ 2 callers
Function
pythonModuleUnder
* The module file for the dotted path `relPath` (slash-joined) under `root`, * walking it the way the import system does: every prefix must be a pack
src/resolution/import-resolver.ts:834
↓ 2 callers
Function
pythonPackageBinds
* Whether `from P import N` binds something `P/__init__.py` defines or * re-exports, rather than the submodule `P.N`. CPython's `_handle_fromlist` *
src/resolution/import-resolver.ts:3815
↓ 2 callers
Function
qualifiedSymbolMatches
( cg: SymbolLookupHost, symbol: string, goPackageOf?: GoPackageOf )
src/graph/symbol-lookup.ts:179
↓ 2 callers
Function
qualifiersBefore
The qualifiers `A<T>::B::` written right before `end`, outermost first, each with the arguments it writes.
src/resolution/cpp-template-instantiations.ts:303
↓ 2 callers
Function
queries
()
__tests__/resolver-project-scans.test.ts:23
↓ 2 callers
Function
queriesOf
(cg: CodeGraph)
__tests__/dominant-file-cache.test.ts:30
↓ 2 callers
Function
queriesOf
(cg: CodeGraph)
__tests__/explore-long-query.test.ts:27
↓ 2 callers
Function
query
Runs a short OS query and resolves its stdout, or null when it fails or times out.
src/mcp/process-identity.ts:50
↓ 2 callers
Function
queryMightContainPaths
(query: string)
src/search/query-paths.ts:87
↓ 2 callers
Function
quoted
(values: readonly string[])
telemetry-worker/src/rollup.ts:99
↓ 2 callers
Function
quotedEnd
Past the string or character literal whose quote is at `i` (it stops at a newline).
src/extraction/languages/cpp-brace-scopes.ts:151
↓ 2 callers
Function
quotedIdentifier
* The name a JS/TS string literal spells when it is a plain identifier: `'svc'` * or `"getItems"` → the text between the quotes. Null for anything el
src/extraction/tree-sitter.ts:724
↓ 2 callers
Function
quoted_end
Past the string or character literal whose quote is at `i` (it stops at a newline).
codegraph-kernel/src/ccpp/brace_scopes.rs:157
↓ 2 callers
Method
quoted_identifier
The name a string literal spells when it is a plain identifier: `'svc'` or `"getItems"` → the text between the quotes. None for anything else, includi
codegraph-kernel/src/tsjs/extractors.rs:172
↓ 2 callers
Function
railsActionOption
* A `resources` line's `only:` / `except:` action list, written any way Rails * accepts it: `[:index, :show]`, `:show`, `%i[new create index]`, `%w(i
src/resolution/frameworks/ruby.ts:18
↓ 2 callers
Function
rank
(n: Node)
src/ui-server/api/route-roots.ts:89
↓ 2 callers
Function
rawDb
(cg: CodeGraph)
__tests__/explore-long-query.test.ts:30
↓ 2 callers
Method
reExports
Its ES-module `export … from` statements, which have no import mapping.
src/resolution/module-importers.ts:81
↓ 2 callers
Function
reached
The targets the pass linked from `source`, sorted.
__tests__/cpp-template-instantiations.test.ts:76
↓ 2 callers
Function
reached
(caller: string)
__tests__/swift-type-path-calls.test.ts:98
↓ 2 callers
Function
reachesProgram
* Whether a `declare module` in `file` can be in the program `fromFile` is in. * Each package of a monorepo has a program of its own, so it can if `f
src/resolution/ambient-modules.ts:765
↓ 2 callers
Function
reactRouterNavVerb
(name: string)
src/resolution/frameworks/react-router.ts:166
↓ 2 callers
Function
reactRouterTable
(context: ResolutionContext)
src/resolution/frameworks/react-router.ts:114
↓ 2 callers
Function
reactionOf
* The reaction one action represents, given what the explore had returned. * `earlier` is what PREVIOUS explores in the same thread returned: a re-re
scripts/agent-eval/parse-run.mjs:821
↓ 2 callers
Function
read
(file: string, language: Language)
src/resolution/module-importers.ts:95
↓ 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:1742
↓ 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:286
↓ 2 callers
Function
readFileShape
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:238
↓ 2 callers
Function
readHelloLine
* Read one CRLF/LF-terminated JSON line from the socket, parse it as the * daemon hello, and return it. Bounded to {@link MAX_HELLO_LINE_BYTES} so a
src/mcp/proxy.ts:656
↓ 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
readOnlyRefusal
(reason: string | null)
src/ui-server/api/trails.ts:389
↓ 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:860
↓ 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:603
↓ 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:2861
↓ 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:1283
↓ 2 callers
Method
receiver_type_of
getReceiverType — extension functions: the last user_type BEFORE a `.` child; its FIRST type_identifier's text (qualified receivers take the FIRST seg
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:441
↓ 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:694
↓ 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:249
↓ 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: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:429
↓ 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:643
↓ 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:3267
↓ 2 callers
Function
refreshTargets
( targets: readonly AgentTarget[], location: Location, )
src/installer/index.ts:424
↓ 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
registerDaemon
(rec: DaemonRecord)
src/mcp/daemon-registry.ts:93
↓ 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:2338
↓ 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:2554
↓ 2 callers
Function
relative
(source: string)
src/resolution/import-resolver.ts:3621
↓ 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:2706
↓ 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:184
↓ 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
← previous
next →
3,101–3,200 of 12,468, ranked by callers