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
↓ 3 callers
Function
readConfigText
(file: string)
src/installer/targets/copilot-vscode.ts:100
↓ 3 callers
Function
readEdges
(synthesized = true)
__tests__/sync-rebuild-convergence.test.ts:544
↓ 3 callers
Function
readGitignorePatterns
* Read a `.gitignore` and return patterns safe to hand to the `ignore` matcher — * never throwing, even when the file isn't real gitignore text. Two
src/extraction/index.ts:458
↓ 3 callers
Function
readGrammarWasmBytes
(languages: Language[])
src/extraction/grammars.ts:497
↓ 3 callers
Function
readIdentifier
(s: string, i: number)
src/resolution/frameworks/java.ts:583
↓ 3 callers
Function
readJson
(file: string)
__tests__/daemon-older-version.test.ts:389
↓ 3 callers
Function
readProxyMatcher
(safe: string)
src/resolution/frameworks/next-proxy.ts:114
↓ 3 callers
Function
readSource
(filePath)
src/graph/test-code.ts:46
↓ 3 callers
Function
readText
(file: string)
src/installer/targets/hermes.ts:125
↓ 3 callers
Function
readUpdateCheckCache
(dir: string)
src/upgrade/update-check.ts:97
↓ 3 callers
Function
ready
(root: string, project: Project)
src/mcp/project-lifecycle.ts:123
↓ 3 callers
Method
reapDeadClients
* Drop every connected client whose peer process is gone. Returns the count * reaped. `isAlive` is injected for testing. Clients with unknown pids
src/mcp/daemon.ts:718
↓ 3 callers
Function
receiverType
* What a receiver named `name` is declared as where the call is: a local or * parameter of its member, else a field or property of its class, of one
src/resolution/vbnet-receivers.ts:1185
↓ 3 callers
Function
receiverTypeFor
(caller: Node, callee: string)
src/ui-server/api/steps.ts:498
↓ 3 callers
Method
recoverIndexes
* Rebuild, on a worker thread, the secondary indexes an interrupted bulk * load dropped and `openSync({ deferIndexRecovery: true })` left (#1887).
src/index.ts:601
↓ 3 callers
Method
recoverIndexesOffThread
* Recreate the secondary indexes {@link open} deferred, on a worker thread * with its own connection, so this thread's event loop, and the #850
src/db/index.ts:527
↓ 3 callers
Function
ref
(over: Partial<WireNodeRef> = {})
__tests__/ui-entry-model.test.ts:39
↓ 3 callers
Function
referenced
(name: string)
__tests__/dart-typedef-refs.test.ts:276
↓ 3 callers
Function
refreshUpdateCheck
(deps: UpdateCheckDeps = {})
src/upgrade/update-check.ts:168
↓ 3 callers
Method
refreshWatchTree
Reconcile logical directory paths with real targets, including retargeted links.
src/sync/watcher.ts:504
↓ 3 callers
Function
registerDaemon
(rec: DaemonRecord)
src/mcp/daemon-registry.ts:93
↓ 3 callers
Method
release
* Release the lock
src/utils.ts:616
↓ 3 callers
Function
remember
(id: string, info: { name?: string | null; kind?: string | null })
ui/src/lib/trail.svelte.ts:36
↓ 3 callers
Function
removePromptHookEntry
(loc: Location)
src/installer/targets/claude.ts:423
↓ 3 callers
Method
removeWorker
(w: ParsePoolWorker)
src/extraction/parse-pool.ts:438
↓ 3 callers
Function
renderNode
(node: TreeNode, prefix: string, isLast: boolean, depth: number)
src/bin/codegraph.ts:2238
↓ 3 callers
Method
reopenEdges
(edges: Array<Edge & { edgeId: number; sourceFilePath: string; sourceLanguage: Language }>)
src/extraction/index.ts:3856
↓ 3 callers
Method
reopenReplacedDatabase
The body of {@link reopenIfReplaced}, without the in-flight-sync guard.
src/index.ts:382
↓ 3 callers
Function
replaceOrAppendMarkedSection
( filePath: string, body: string, startMarker: string, endMarker: string, )
src/installer/targets/shared.ts:392
↓ 3 callers
Function
req
(ctx, id, blocks)
scripts/agent-eval/parse-run.mjs:965
↓ 3 callers
Function
request
The same, against the main fixture's server.
__tests__/ui-server-api.test.ts:71
↓ 3 callers
Function
request
(requestPath: string)
__tests__/dead-code.test.ts:52
↓ 3 callers
Function
requestOn
* One request against a live server, with the loopback `Host` the boundary * wants. Written with `http.request` rather than `fetch` so the `Host` hea
__tests__/ui-server-api.test.ts:42
↓ 3 callers
Function
resolve
(ref: UnresolvedRef, context: ResolutionContext)
src/resolution/frameworks/go.ts:30
↓ 3 callers
Method
resolveAndPersist
* Resolve and persist edges to database
src/resolution/index.ts:2504
↓ 3 callers
Method
resolveBatchYielding
* Resolve one batch with a yield checkpoint between EVERY ref so the #850 * liveness heartbeat can fire on a slow/dense batch (#1091). The checkpoi
src/resolution/index.ts:2700
↓ 3 callers
Function
resolveGitDir
* Resolve the repository GIT_DIR for `repoRoot` (a `.git` directory, or the * target of a `.git` file pointer). Null when this isn't a git checkout.
src/extraction/index.ts:507
↓ 3 callers
Method
resolveImport
Import lookup supplied by the coordinator, keeping name matching from * importing the import resolver (which itself uses name-matching helpers).
src/resolution/types.ts:216
↓ 3 callers
Function
resolveModule
(name: string, context: ResolutionContext)
src/resolution/frameworks/rust.ts:331
↓ 3 callers
Method
resolveOneTimed
(ref: UnresolvedRef)
src/resolution/index.ts:2788
↓ 3 callers
Function
resolveParseBudgetMs
(baseMs: number, contentLength: number)
src/extraction/parse-budget.ts:51
↓ 3 callers
Function
resolveParseTimeoutMs
(envVal: string | undefined)
src/extraction/parse-budget.ts:37
↓ 3 callers
Function
resolveRequestedFile
( cg: CodeGraph, projectRoot: string, requested: string )
src/ui-server/api/source.ts:111
↓ 3 callers
Function
resolveTargetFlag
(value: string, loc: Location)
src/installer/targets/registry.ts:90
↓ 3 callers
Function
resolveType
(text: string, file: string, depth = 0)
src/resolution/go-func-field-synthesizer.ts:446
↓ 3 callers
Function
resolveTypeParameter
* What a type means where it is written: a type parameter of the method * (`owner`) or of a type around it stands for its constraint — null when it
src/resolution/vbnet-receivers.ts:1104
↓ 3 callers
Function
resolvedSegments
A path's segments with each `{expr}` read from the constant it names, as seen from `file` — where the route (or the mount) is written.
src/resolution/frameworks/angular-router.ts:409
↓ 3 callers
Function
responseStatus
(text: string, args: string | null | undefined, _kind: 'calls' | 'instantiates' = 'calls')
src/ui-server/api/effects.ts:428
↓ 3 callers
Function
retentionDays
(env: Env)
telemetry-worker/src/rollup.ts:66
↓ 3 callers
Function
retire
Settle everything waiting on the current worker and forget it.
src/ui-server/highlight/bounded-tokenize.ts:48
↓ 3 callers
Method
retryInitIfNeeded
* Lazy default-project resolution. Three layers: * 1. await the in-flight init kicked off from `handleInitialize` (if any); * 2. if still un
src/mcp/session.ts:448
↓ 3 callers
Function
returnedTables
* The tables the function written at `at` returns: its expression body's * (`(user) => [ … ]`, `() => buildRoutes()`), or what each `return` of its
src/resolution/frameworks/react.ts:2253
↓ 3 callers
Function
roomForLines
(block: readonly string[])
src/mcp/tools.ts:1436
↓ 3 callers
Function
rootKey
* The key a block records for its project: the resolved root with forward * slashes, which Git for Windows' sh also accepts.
src/sync/git-hooks.ts:93
↓ 3 callers
Function
routeNameInExpression
(expr: string)
src/resolution/frameworks/vue-router.ts:314
↓ 3 callers
Function
routine
(qualifiedName: string)
__tests__/pascal-reference-boundaries.test.ts:43
↓ 3 callers
Function
routineTypeVerdict
* Whether a written type is a routine's (see isProceduralTypeText): false * for one of the System unit's value types, and undefined when nothing says
src/resolution/pascal-scope.ts:2703
↓ 3 callers
Function
rustImplTypeName
(typeNode: SyntaxNode | null, source: string)
src/extraction/languages/rust.ts:53
↓ 3 callers
Function
samplePolyline
(c: Curve, count = HIT_SAMPLES)
ui/src/lib/screens-model.ts:575
↓ 3 callers
Function
scanCppBraceScopes
(source: string)
src/extraction/languages/cpp-brace-scopes.ts:204
↓ 3 callers
Function
scanDynamicDispatch
(body: string, language: string, fileStartLine: number)
src/mcp/dynamic-boundaries.ts:272
↓ 3 callers
Function
scanEmployee
(row *sql.Row)
__tests__/fixtures/payroll-go/internal/gen/fkit/employee/employee.go:84
↓ 3 callers
Function
scanTimesheet
(row *sql.Row)
__tests__/fixtures/payroll-go/internal/gen/fkit/timesheet/timesheet.go:71
↓ 3 callers
Function
scan_multiline_comment
codegraph-kernel/grammars/kotlin/scanner.c:367
↓ 3 callers
Function
scheduleDaemonRetry
()
src/mcp/proxy.ts:517
↓ 3 callers
Method
scheduleTreeRefresh
Coalesce directory topology events before walking; file edits never walk the tree.
src/sync/watcher.ts:542
↓ 3 callers
Function
scopeOf
* What `file` can see, or null when that is unknown: its library cannot be * found, or no pubspec.yaml above it says which package its `package:` *
src/resolution/dart-libraries.ts:684
↓ 3 callers
Function
scopesFor
The scopes a written name is looked up from: the global scope alone for `::Name`.
src/resolution/cpp-type-aliases.ts:138
↓ 3 callers
Function
screen
(path: string)
__tests__/ui-screens-model.test.ts:72
↓ 3 callers
Function
screenCurve
( route: EdgeRoute, sx: number, sy: number, tx: number, ty: number, layerGap = SCREEN_LAYER_GAP,
ui/src/lib/screens-model.ts:451
↓ 3 callers
Function
seed
(ids: string[], edges: Edge[])
__tests__/graph.test.ts:844
↓ 3 callers
Function
semicolonEnd
The index after the first `;` from `i` outside parentheses and brackets, or -1 when none comes within `max` characters.
src/extraction/languages/pascal-preparse.ts:221
↓ 3 callers
Function
send
(session: Session, msg: unknown)
__tests__/daemon-older-version.test.ts:476
↓ 3 callers
Function
sendJson
(res: ServerResponse, status: number, payload: unknown, method: string)
src/ui-server/static.ts:116
↓ 3 callers
Method
setCatchUpGate
* Engine-only: register the catch-up sync promise so the next `execute()` * call awaits it before serving. The handler swallows rejections (the
src/mcp/tools.ts:2268
↓ 3 callers
Method
setDefaultOpenFailure
* Engine-only: record why the default project failed to open (#995), so a * call that needs it answers with that fix rather than "no project loaded
src/mcp/tools.ts:2257
↓ 3 callers
Method
setKeepDetectionContents
* Keep what framework detection reads for the next detection (a graph that * watches the project), or stop keeping it and let it go (see * keepD
src/extraction/index.ts:2473
↓ 3 callers
Function
settings
()
__tests__/installer-targets.test.ts:4406
↓ 3 callers
Function
settle
(timeoutMs: number)
__tests__/fixtures/starved-cluster-ts/src/transport/socket.ts:28
↓ 3 callers
Function
sfcFileNode
(filePath: string, source: string, language: Language)
src/extraction/sfc-script.ts:95
↓ 3 callers
Function
shopifyThemeRoot
( filePath: string, exists: (relativePath: string) => boolean, folders: RegExp = SHOPIFY_THEME_FOLDERS,
src/extraction/grammars.ts:277
↓ 3 callers
Method
shouldIgnoreDir
* True for any directory that should NOT be watched (used while building the * Linux per-directory watch tree). Tests the directory form of the pat
src/sync/watcher.ts:836
↓ 3 callers
Function
shouldTryNextPort
( code: string | undefined, port: number, platform: NodeJS.Platform = process.platform )
src/ui-server/index.ts:473
↓ 3 callers
Method
signature_of
getSignature — lua (lua.ts:83-86) / luau (luau.ts:26-35).
codegraph-kernel/src/lua.rs:390
↓ 3 callers
Method
signature_of
goExtractor.getSignature: params + ' ' + result.
codegraph-kernel/src/go.rs:330
↓ 3 callers
Method
signature_of
typescriptExtractor.getSignature / javascriptExtractor.getSignature.
codegraph-kernel/src/tsjs/mod.rs:1041
↓ 3 callers
Function
simple_ident_re
()
codegraph-kernel/src/ccpp/mod.rs:148
↓ 3 callers
Function
sizeOf
(value: unknown)
src/utils.ts:847
↓ 3 callers
Function
skipBlank
Past the blanks at `i`.
src/extraction/languages/cpp-macro-methods.ts:206
↓ 3 callers
Function
skipCommentOrLiteral
* Where the comment, string or character literal that starts at `at` ends * (the index after it), or `at` when none starts there. A literal ends with
src/extraction/languages/objc-rn-extern.ts:78
↓ 3 callers
Function
skipSpace
(src: string, k: number)
src/resolution/jsx-code.ts:66
↓ 3 callers
Function
skipSpace
(s: string, i: number)
src/resolution/frameworks/java.ts:588
↓ 3 callers
Function
skipWs
(text: string, i: number)
src/installer/targets/toml.ts:448
↓ 3 callers
Method
snapshot
Every project this session has queried, least-recently-used first.
src/mcp/explore-session-state.ts:255
↓ 3 callers
Function
splitArgs
Top-level comma split of an argument list; strings and brackets respected.
src/resolution/frameworks/laravel.ts:456
↓ 3 callers
Function
splitLines
(content: string)
src/ui-server/api/source.ts:143
↓ 3 callers
Function
splitTop
The spans of `code` between `from` and `to` that top-level commas part.
src/resolution/rust-scopes.ts:255
↓ 3 callers
Function
splitTop
(text: string, sep: ' && ' | ' || ')
ui/src/lib/conditions.ts:20
↓ 3 callers
Function
start
(args: string[])
__tests__/index-daemon-rebuild.test.ts:26
↓ 3 callers
Function
stateOf
Every edge by its ends' natural keys, and every reference left unresolved.
__tests__/sync-module-config-change.test.ts:55
← previous
next →
1,701–1,800 of 13,347, ranked by callers