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
↓ 1 callers
Function
runMeasurement
(root: string, timeoutMs: number)
src/mcp/index-freshness.ts:40
↓ 1 callers
Function
runNode
(cwd: string, extraArgs: string[])
__tests__/cli-node-command.test.ts:22
↓ 1 callers
Function
runOne
(i)
scripts/agent-eval/repro-concurrent-explore.mjs:70
↓ 1 callers
Function
runOneToolCall
( home: string, project: string, extraArgs: string[], )
__tests__/serve-no-telemetry.test.ts:20
↓ 1 callers
Method
runPayrollCycleAll
runPayrollCycleAll is the heart of the cycle: for every employee on the roster it builds a payslip from that employee's contract and timesheet, then u
__tests__/fixtures/payroll-go/internal/usecase/payroll/cycle.go:81
↓ 1 callers
Function
runPooled
(i: number)
src/resolution/callback-synthesizer.ts:5649
↓ 1 callers
Method
runPragmasOffThread
* Run pragmas on a worker thread against its own connection to this DB * (shared machinery for {@link runMaintenance} and * {@link checkpointWal
src/db/index.ts:928
↓ 1 callers
Function
runPromptHook
Run the built CLI's `prompt-hook` in `dir`, as Claude Code does, and return what it injects.
__tests__/prompt-hook-daemon.test.ts:254
↓ 1 callers
Function
runPromptHook
* Run the built CLI's `prompt-hook` in `dir` with a UserPromptSubmit payload * shaped like the one Claude Code sends, and return what it injects.
__tests__/frontload-hook.test.ts:42
↓ 1 callers
Method
runProxyWithLocalHandshake
* Proxy mode (the common case). Serve the MCP handshake LOCALLY for instant * tool registration, forwarding tool calls to the shared daemon — which
src/mcp/index.ts:763
↓ 1 callers
Function
runPrune
Run the real prune block with INSTALL_DIR/dest set, return code + stdout.
__tests__/install-sh-prune.test.ts:45
↓ 1 callers
Method
runRecoveryOffThread
(statements: string[])
src/db/index.ts:535
↓ 1 callers
Function
runRefs
`<function> L<line>` for every function_ref ref to `run`, in source order.
__tests__/go-shadowed-function-value.test.ts:129
↓ 1 callers
Function
runShim
(pkgDir: string, args: string[], env: Record<string, string>)
__tests__/npm-shim.test.ts:71
↓ 1 callers
Function
runStatusJson
(cwd: string)
__tests__/status-json.test.ts:22
↓ 1 callers
Function
runStubbedShim
(result: { status: number | null; signal: string | null })
__tests__/npm-shim.test.ts:105
↓ 1 callers
Method
runSynthPass
* Run one synthesis pass (by SYNTH_PASSES name) on the least-busy worker. * The worker reads the committed graph on its own connection and returns
src/resolution/resolver-pool.ts:413
↓ 1 callers
Function
runTargets
(g: CodeGraph)
__tests__/sync-barrel-retarget.test.ts:154
↓ 1 callers
Function
runUninstaller
(opts: RunUninstallerOptions)
src/installer/index.ts:479
↓ 1 callers
Function
runUpgrade
(opts: UpgradeOptions, deps: UpgradeDeps)
src/upgrade/index.ts:420
↓ 1 callers
Method
runWalHeal
(beforeBytes: number)
src/db/index.ts:798
↓ 1 callers
Function
runnableOverload
* The overload of `member` (a method) that VB.NET runs where a reference * names it without parentheses: one that takes no arguments — `Me.Load` is
src/resolution/vbnet-receivers.ts:1634
↓ 1 callers
Function
runsAsComponent
(id: string)
src/extraction/sfc-script.ts:150
↓ 1 callers
Function
rustMacroArgRefs
(macro: SyntaxNode, source: string)
src/extraction/languages/rust-macro-calls.ts:126
↓ 1 callers
Function
rustModDeclaration
How `source` declares the out-of-line module `name` at its top level: under a test `cfg`, plainly, or not at all.
src/graph/test-code.ts:93
↓ 1 callers
Function
rustProject
(files: Record<string, string>)
__tests__/extraction.test.ts:11330
↓ 1 callers
Function
rustReceiverChain
* The receiver chain a Rust method call is written on, when it is fields and * method calls on `self` or on a name: `self.services.store`, `self.stor
src/extraction/tree-sitter.ts:607
↓ 1 callers
Function
rust_macro_arg_refs
rustMacroArgRefs: none unless `mac` is one of RUST_EXPRESSION_MACROS.
codegraph-kernel/src/rustlang.rs:1958
↓ 1 callers
Function
safeDecode
Percent-decode for display; the raw value is used for anything security-relevant.
src/ui-server/index.ts:389
↓ 1 callers
Function
same
(what, expected, actual)
telemetry-dashboard/scripts/render-check.mjs:46
↓ 1 callers
Function
sameContent
Same file, but written to since we last looked.
src/ui-server/api/session.ts:86
↓ 1 callers
Function
sameFile
(id: string | null)
src/resolution/frameworks/express.ts:156
↓ 1 callers
Function
sameFile
(a: FileIdentity | null, b: FileIdentity | null)
src/ui-server/api/session.ts:78
↓ 1 callers
Function
sameLock
()
src/mcp/daemon-registry.ts:429
↓ 1 callers
Method
sameNamedTypeOfValue
(value: Node)
src/resolution/index.ts:5238
↓ 1 callers
Method
sameNamedValueOfType
* The value a file declares beside a type of the same name — `export * function Ok()` beside `export interface Ok`, a class merged with an * int
src/resolution/index.ts:5232
↓ 1 callers
Function
sameNodes
(a: readonly Node[], b: readonly Node[])
src/resolution/tauri-synthesizer.ts:364
↓ 1 callers
Function
sameObject
Can the `emit` and the `on` be made on the same object?
src/resolution/event-emitter-synthesizer.ts:371
↓ 1 callers
Function
samePath
(a: readonly string[], b: readonly string[])
src/installer/targets/toml.ts:364
↓ 1 callers
Function
samePath
(a, b)
scripts/add-lang/check-grammar.mjs:56
↓ 1 callers
Function
sameRoutine
* Whether two routine nodes are the same routine, or overloads of it: the * same node, or of one qualified name (whatever its case) in one unit — a
src/resolution/pascal-scope.ts:420
↓ 1 callers
Function
sameScope
(open: Open, scope: Scope)
src/ui-server/api/program.ts:236
↓ 1 callers
Function
sameTable
(a: readonly string[], b: readonly string[])
src/extraction/kernel/loader.ts:134
↓ 1 callers
Function
sameType
(a: string | null, b: string | null)
src/resolution/callback-synthesizer.ts:1345
↓ 1 callers
Function
sample
(pid)
scripts/benchmarks/observe-index.py:22
↓ 1 callers
Function
sandboxHome
The sandbox home — asserted to be one, so the checks below can't pass on a real home.
__tests__/test-home-sandbox.test.ts:19
↓ 1 callers
Function
sanitizeEvent
(raw: unknown)
telemetry-worker/src/index.ts:162
↓ 1 callers
Function
saveTrail
( cg: CodeGraph, projectRoot: string, body: unknown, options: TrailsOptions )
src/ui-server/api/trails.ts:322
↓ 1 callers
Function
saveTrail
( request: SaveTrailRequest, signal?: AbortSignal )
ui/src/lib/api.ts:230
↓ 1 callers
Method
saveTrail
* Save a trail, answering the full list as it now stands. * * OPTIONAL, and the only mutating pair in this interface. An adapter that * refus
ui/src/lib/adapter.ts:255
↓ 1 callers
Function
say
(s = '')
scripts/agent-eval/probe-suite-envelope.mjs:44
↓ 1 callers
Function
say
(s = '')
scripts/agent-eval/probe-factory-closure.mjs:41
↓ 1 callers
Function
say
(s = '')
scripts/agent-eval/probe-file-spend.mjs:66
↓ 1 callers
Function
say
(s = '')
scripts/agent-eval/probe-decl-only.mjs:72
↓ 1 callers
Function
says
(who: Child, word: string)
__tests__/migration-concurrent-opens.test.ts:145
↓ 1 callers
Function
scaffoldSource
(delimiter = 'GEN')
__tests__/cpp-raw-string-preparse-1505.test.ts:18
↓ 1 callers
Function
scalaMemberInScope
* A bare Scala name reaches a member of another type — `FreeT.FlatMapped`'s * `type A`, a test suite's `val P` — only from inside that type, a type t
src/resolution/type-parameters.ts:118
↓ 1 callers
Function
scalar
(db, q)
scripts/agent-eval/diff-index-drift.mjs:42
↓ 1 callers
Function
scan
(file: string, inherited: Truth, includeLine?: number)
src/resolution/cpp-macro-visibility.ts:319
↓ 1 callers
Function
scan
scanCppBraceScopes: `src` as the parser saw it (after preParse). None when the braces don't balance.
codegraph-kernel/src/ccpp/brace_scopes.rs:251
↓ 1 callers
Function
scan
(dir: string)
__tests__/dotdot-folder-names.test.ts:120
↓ 1 callers
Function
scan
()
__tests__/include-config.test.ts:114
↓ 1 callers
Function
scan
(text: string)
__tests__/child-process-windows-hide.test.ts:325
↓ 1 callers
Function
scanAnonymousRecord
* At a `record` keyword from `start` to `end`, recognize the declaration of a field, variable or typed constant of * an anonymous record type, follow
src/extraction/languages/pascal-preparse.ts:1007
↓ 1 callers
Function
scanExpression
* The calls in one template expression `s[start, end)`. `outerLocal` is the * template scope (aliases and slot props in force); arrow and function *
src/extraction/vue-template-calls.ts:294
↓ 1 callers
Function
scanFile
(file: string, source: string)
src/resolution/tauri-synthesizer.ts:1208
↓ 1 callers
Method
scanFile
The text a walk over the indexed files reads: see ResolutionContext.scanFile.
src/resolution/index.ts:989
↓ 1 callers
Method
scanFile
* An indexed file's text for a walk over all of them, which keeps none: it * stays out of the content cache, and each byte is a character, so anyth
src/resolution/types.ts:141
↓ 1 callers
Method
scanFnRefSubtree
* Candidates-only scan of a subtree the main walkers won't traverse * (top-level variable initializers). No extraction side effects. Halts at *
src/extraction/tree-sitter.ts:1224
↓ 1 callers
Function
scanForInVariable
* After a `for` keyword ending at `forEnd`, recognize `var Name in` or * `var Name: Type in` and push the `var` range and the `: Type` range onto *
src/extraction/languages/pascal-preparse.ts:368
↓ 1 callers
Function
scanInterface
* Adds the routine names a Pascal file declares while in an interface * section to `names` (see interfaceRoutineNames), starting in one or not; * wh
src/resolution/pascal-scope.ts:2241
↓ 1 callers
Function
scanMarkup
The markup of `s[start, end)`: element nesting, directive values, interpolations.
src/extraction/vue-template-calls.ts:130
↓ 1 callers
Function
scanNamespaceBlocks
(source: string, declarationFile: boolean)
src/resolution/ambient-modules.ts:326
↓ 1 callers
Function
scanParameterList
* Walk the parameter list whose `(` is at `open`, pushing the `[from, to)` * range of each attribute group a parameter starts with — before or after
src/extraction/languages/pascal-preparse.ts:312
↓ 1 callers
Function
scanPropertyOverride
* After a `property` keyword running from `start` to `propertyEnd`, * recognize a property override, which names an inherited property without * its
src/extraction/languages/pascal-preparse.ts:421
↓ 1 callers
Function
scanPythonGetattr
(stripped: string, original: string, fileStartLine: number, out: BoundaryMatch[], seen: Map<string, BoundaryMa
src/mcp/dynamic-boundaries.ts:330
↓ 1 callers
Function
scanRouteDeclarations
The routes a file's own text declares: its `<Route>` elements and, in a file that makes a router, its route objects.
src/resolution/frameworks/react.ts:1032
↓ 1 callers
Function
scanShimBody
* The spans to blank in a shim's body, which starts at `from`: each bodiless * macro of React Native's that stands among the body's declarations. One
src/extraction/languages/objc-rn-extern.ts:154
↓ 1 callers
Function
scanTomlLine
Track value constructs that may legally span lines so bracket-shaped string * content and nested arrays cannot be mistaken for sibling table headers.
src/installer/targets/toml.ts:539
↓ 1 callers
Function
scanTomlStatements
* Split `content` into statements. A line counts only when it starts * outside a multiline value; the lines of a value that spans several are * fold
src/installer/targets/toml.ts:381
↓ 1 callers
Function
scanWithStatements
* The `with` statements of a Pascal text, in the order they start. A * statement's body runs from its `do` to the `;` that ends the statement, or *
src/resolution/pascal-scope.ts:1292
↓ 1 callers
Function
scan_alias_names
OBJ_ALIAS_RE over the continuation-joined text: /^[ \t]*#[ \t]*define[ \t]+(\w+)[ \t]+(?:struct[ \t]+)*[A-Za-z_]\w*[ \t\r]*$/gm
codegraph-kernel/src/cfnptr.rs:697
↓ 1 callers
Function
scan_anchored
Anchor-skeleton driver shared by INIT_RE and ARRAY_TABLE_RE: both match `(?:^|[;{}])` then a body, and resume from the end of each match. `body` retur
codegraph-kernel/src/cfnptr.rs:559
↓ 1 callers
Function
scan_array_dispatch
ARRAY_DISPATCH_RE: /(?:\(\s*\*\s*)?\b(\w+)\s*\[[^\][]*\]\s*\)?\s*\(/g
codegraph-kernel/src/cfnptr.rs:929
↓ 1 callers
Function
scan_automatic_semicolon
`cursor_clean` is an out-param for the `return false` case only. Most of the keyword probes below skip over source text to make their decision, and sk
codegraph-kernel/grammars/kotlin/scanner.c:1091
↓ 1 callers
Function
scan_comment_content
codegraph-kernel/grammars/lua/scanner.c:134
↓ 1 callers
Function
scan_comment_start
codegraph-kernel/grammars/lua/scanner.c:120
↓ 1 callers
Function
scan_dispatch
DISPATCH_RE: /((?:\w+(?:\s*\[[^\][]*\])?\s*(?:->|\.)\s*)+)(\w+)\s*\)?\s*\(/g The `+` loop is consumed greedily, then the field tail is tried at each s
codegraph-kernel/src/cfnptr.rs:860
↓ 1 callers
Function
scan_field_assign
FIELD_ASSIGN_RE: /(\w+)\s*(?:->|\.)\s*(\w+)\s*=\s*(\w+)\s*(?:->|\.)\s*(\w+)/g Pairs collected as `lfield\0rfield`. Every byte position is a candidate
codegraph-kernel/src/cfnptr.rs:796
↓ 1 callers
Function
scan_float_with_separator
Lexes a floating point literal whose integer part uses digit separators, e.g. `1_000.5`. The internal regex cannot. After an underscore-containing gro
codegraph-kernel/grammars/scala/scanner.c:891
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32, walked: &HashSet<usize>)
codegraph-kernel/src/kotlin.rs:1744
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32)
codegraph-kernel/src/lua.rs:909
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32, walked: &HashSet<usize>)
codegraph-kernel/src/java.rs:1234
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32)
codegraph-kernel/src/swift.rs:1445
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32, walked: &HashSet<usize>)
codegraph-kernel/src/python.rs:940
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32, walked: &HashSet<usize>)
codegraph-kernel/src/go.rs:1273
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32)
codegraph-kernel/src/ruby.rs:999
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32)
codegraph-kernel/src/scala.rs:1318
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32, walked: &HashSet<usize>)
codegraph-kernel/src/rustlang.rs:1476
↓ 1 callers
Method
scan_fn_ref_subtree
(&mut self, node: Node<'t>, depth: u32)
codegraph-kernel/src/dart.rs:2420
← previous
next →
9,301–9,400 of 13,347, ranked by callers