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
↓ 1 callers
Function
skip_whitespaces
codegraph-kernel/grammars/lua/scanner.c:38
↓ 1 callers
Function
slash
(p: string | undefined)
__tests__/upgrade.test.ts:162
↓ 1 callers
Function
slashOpensRegex
* Whether the `/` at `at` opens a regex literal: it does where an expression * starts, and divides after a value — a `)`, `]`, string, name or number
src/resolution/strip-comments.ts:107
↓ 1 callers
Function
sleep
(ms: number)
src/mcp/daemon-registry.ts:258
↓ 1 callers
Function
sleep
(ms)
scripts/agent-eval/repro-daemon-clients.mjs:72
↓ 1 callers
Function
sleep
(ms: number)
__tests__/worker-teardown.test.ts:19
↓ 1 callers
Function
sleep
(ms: number)
__tests__/mcp-startup-orphan.test.ts:62
↓ 1 callers
Function
sleep
(ms: number)
__tests__/startup-handshake.test.ts:20
↓ 1 callers
Function
sleep
(ms: number)
__tests__/query-pool.test.ts:22
↓ 1 callers
Function
sleep
(ms: number)
__tests__/parse-pool.test.ts:17
↓ 1 callers
Function
sleep
(ms)
__tests__/fixtures/filelock-contender.cjs:22
↓ 1 callers
Function
slice
(from: number, to: number)
ui/src/lib/symbol-model.ts:151
↓ 1 callers
Function
sliceLinesPre
Slice a node's body from a pre-split line array — the per-file sweeps * call this once per NODE, and splitting the whole file per node was an * O(
src/resolution/c-fnptr-synthesizer.ts:124
↓ 1 callers
Function
snapshot
(g: CodeGraph)
__tests__/sync.test.ts:1093
↓ 1 callers
Function
snippet
(node)
scripts/add-lang/dump-ast.mjs:78
↓ 1 callers
Function
snippetJson
(out: string)
__tests__/installer-targets.test.ts:3177
↓ 1 callers
Function
solution
(root: string)
__tests__/mediatr-dispatch-synthesizer.test.ts:223
↓ 1 callers
Function
sortArguments
A written list of arguments, sorted out.
src/resolution/ruby-parameter-flow.ts:275
↓ 1 callers
Function
sorted
(sql: string)
__tests__/orphaned-refs-sweep.test.ts:72
↓ 1 callers
Function
sorted
(files: Iterable<string>)
__tests__/git-ignored-dirs-scope.test.ts:62
↓ 1 callers
Function
sourceEntry
(s: string, open: number)
src/resolution/frameworks/next-proxy.ts:143
↓ 1 callers
Function
sourceFile
(bytes: Buffer)
__tests__/bounded-source.test.ts:25
↓ 1 callers
Function
sourceFiles
(edges: typeof alphaIncoming)
__tests__/frameworks-integration.test.ts:961
↓ 1 callers
Function
sourceNames
Names of the source nodes of the given edges, sorted.
__tests__/function-ref.test.ts:51
↓ 1 callers
Function
sourceOf
(filePath: string)
src/bin/codegraph.ts:2834
↓ 1 callers
Function
sourcedFiles
Paths that explore rendered as full-body ``**`<path>`** —`` source sections. * Headers are bold labels, not ATX headings (issue #778).
__tests__/explore-corroboration-ranking.test.ts:33
↓ 1 callers
Function
sourcedFiles
Paths explore rendered as full-body ``**`<path>`** —`` source sections, in order.
__tests__/explore-nl-stopword-collision.test.ts:28
↓ 1 callers
Function
sources
(to: Node)
__tests__/dart-const-constructors.test.ts:215
↓ 1 callers
Function
sources
(to: Node, kind: string)
__tests__/dart-initializer-calls.test.ts:176
↓ 1 callers
Function
span
median [min–max] over runs; the range is the point — never quote one run.
scripts/agent-eval/compare-arms.mjs:95
↓ 1 callers
Function
span
( name: string, start: number, end: number, importance = 1, spine = false, kind = 'method', )
__tests__/explore-completeness-note.test.ts:35
↓ 1 callers
Function
spanOf
(fn: Node)
src/resolution/callback-synthesizer.ts:2713
↓ 1 callers
Function
spanTags
The tags `src`, a function's lines from `startLine`, holds.
src/resolution/callback-synthesizer.ts:2309
↓ 1 callers
Function
sparse
(...extra: string[])
__tests__/sparse-checkout.test.ts:139
↓ 1 callers
Function
sparseArchive
()
__tests__/resolution-file-read.test.ts:34
↓ 1 callers
Method
sparseCheckoutChanges
* The files a change of the sparse checkout brought in or took away since the * last full index or sync: where the scan and the index disagree. Not
src/extraction/index.ts:4246
↓ 1 callers
Function
spawnDetachedDaemon
* Spawn the shared daemon as a fully detached background process: its own * session/process group (so a SIGHUP/SIGINT to the launcher's terminal can'
src/mcp/index.ts:331
↓ 1 callers
Function
spawnMcp
( cwd: string, env: NodeJS.ProcessEnv, )
__tests__/mcp-writer-lock.test.ts:28
↓ 1 callers
Function
spawnServer
(cwd: string, env: NodeJS.ProcessEnv = {}, args: string[] = [])
__tests__/mcp-daemon.test.ts:58
↓ 1 callers
Function
spawnServer
(cwd: string, handshakeTimeoutMs: number)
__tests__/mcp-startup-orphan.test.ts:30
↓ 1 callers
Function
spawnServer
(cwd: string, env: NodeJS.ProcessEnv = {})
__tests__/daemon-pid-reuse.test.ts:53
↓ 1 callers
Function
spawnServer
(cwd: string)
__tests__/mcp-unindexed.test.ts:27
↓ 1 callers
Function
spawnServer
(cwd: string)
__tests__/mcp-subproject-adoption.test.ts:27
↓ 1 callers
Function
spawnServer
(cwd: string)
__tests__/mcp-roots.test.ts:29
↓ 1 callers
Function
spawnServer
(cwd: string)
__tests__/mcp-initialize.test.ts:38
↓ 1 callers
Function
spawnerOf
The child_process function a call invokes, or null when it isn't one.
__tests__/child-process-windows-hide.test.ts:106
↓ 1 callers
Function
spec
(n: number)
__tests__/explore-relevance-scoring.test.ts:300
↓ 1 callers
Function
spec
(rel: string)
__tests__/cli-affected-filter-globs.test.ts:47
↓ 1 callers
Function
specializationOf
A specialization, from the arguments it writes (as they compare) and its head.
src/resolution/cpp-template-instantiations.ts:348
↓ 1 callers
Function
split
(it: string)
src/resolution/go-func-field-synthesizer.ts:214
↓ 1 callers
Function
splitHostPort
* Split a `Host` header into hostname and port, or `null` if it is malformed. * * An unbracketed IPv6 literal (`::1`) is malformed per RFC 7230 and
src/ui-server/security.ts:119
↓ 1 callers
Function
splitParameters
The parameters of a list, at its top-level commas.
src/resolution/override-parameters.ts:341
↓ 1 callers
Function
splitParameters
A parameter list's items, the optional group's (`{…}` / `[…]`, always last) included.
src/resolution/dart-local-scope.ts:277
↓ 1 callers
Function
splitPlus
An expression's `+` operands at depth 0, strings and brackets stepped over.
src/resolution/frameworks/angular-router.ts:203
↓ 1 callers
Function
splitSubsections
* Split a block body into ordered sub-sections keyed by their * `### Heading`. Lines before the first `### Heading` go in * `leading`. Preserves the
scripts/prepare-release.mjs:110
↓ 1 callers
Function
splitTopLevel
`text` cut at its commas outside any bracket or string.
src/resolution/ruby-parameter-flow.ts:112
↓ 1 callers
Function
splitTopLevel
A list's comma-separated items at depth 0, strings and brackets stepped over.
src/resolution/frameworks/nestjs.ts:884
↓ 1 callers
Function
splitTopLevelObjects
* Split `s` into the contents of each top-level object literal. Brackets and * string literals are balanced so nested arrays/objects/strings inside a
src/resolution/frameworks/nestjs.ts:936
↓ 1 callers
Function
splitWildcard
(pattern: string)
src/resolution/path-aliases.ts:259
↓ 1 callers
Function
split_top_level
splitTopLevel(body, sep): split on `sep` at brace/paren/bracket depth 0.
codegraph-kernel/src/cfnptr.rs:987
↓ 1 callers
Function
spread
(list: string[], left: number)
ui/src/lib/steps-model.ts:848
↓ 1 callers
Function
spread
`n` files under `dir`, each carrying `each` symbols.
__tests__/ui-map-api.test.ts:373
↓ 1 callers
Function
springEventEdges
(ctx: ResolutionContext, onYield: MaybeYield)
src/resolution/callback-synthesizer.ts:4371
↓ 1 callers
Function
springFirstParamType
The first parameter's type from a Java method `signature` (`"void (XEvent e)"` → `XEvent`). * Skips a leading `final`/`@Anno`, strips generics, and
src/resolution/callback-synthesizer.ts:4357
↓ 1 callers
Function
springMvcReplies
(node: Node)
src/ui-server/api/steps.ts:876
↓ 1 callers
Function
springViewString
* The string a Java / Kotlin return expression builds, when it starts with a * literal: `"owners/ownerDetails"`, `"redirect:/owners/" + owner.getId()
src/ui-server/api/steps.ts:410
↓ 1 callers
Function
spyCompute
(cg: CodeGraph)
__tests__/dominant-file-cache.test.ts:34
↓ 1 callers
Function
spyContext
(nodes: Node[])
__tests__/resolution.test.ts:434
↓ 1 callers
Function
spyOnIndexDdl
Record the index DDL every connection on this thread runs from now on.
__tests__/index-recovery-off-thread.test.ts:103
↓ 1 callers
Function
spyReopen
Spies on both re-open paths of the orchestrator.
__tests__/python-module-resolution.test.ts:1164
↓ 1 callers
Function
sqliteError
A node:sqlite error as SQLite reports it.
__tests__/sqlite-open-error.test.ts:70
↓ 1 callers
Function
sqliteLength
`length(text)` as SQLite counts it: characters, so a surrogate pair is one.
src/db/name-substring-index.ts:57
↓ 1 callers
Function
srcBuildFolderOf
* The `build` folder below a `src/` folder that file `rel` sits in, with a * trailing slash (`src/build/` for `src/build/legacy/page.tsx`), or null.
src/extraction/index.ts:372
↓ 1 callers
Function
srvOn
(pick: (line: string) => boolean)
__tests__/go-type-assertion-calls.test.ts:128
↓ 1 callers
Function
stack_pop
codegraph-kernel/grammars/kotlin/scanner.c:53
↓ 1 callers
Function
stack_push
codegraph-kernel/grammars/kotlin/scanner.c:48
↓ 1 callers
Function
stage
(osfam = windows ? 'win32' : process.platform)
__tests__/bundle-launcher.test.ts:32
↓ 1 callers
Method
stageAdd
(stage: string, ref: UnresolvedRef, hit: boolean, t0: bigint)
src/resolution/index.ts:2572
↓ 1 callers
Function
staleIndex
(root: string)
__tests__/mcp-daemon.test.ts:194
↓ 1 callers
Function
stampIndexStale
(cg: CodeGraph, version: string)
__tests__/mcp-daemon.test.ts:173
↓ 1 callers
Method
stampIndexedFrameworks
Record the frameworks a full index extracted every file with; none has come or gone since.
src/index.ts:1056
↓ 1 callers
Method
stampModuleConfigSnapshot
Record the module-config files the index was resolved by, for a later sync to compare against (see sync).
src/index.ts:1018
↓ 1 callers
Method
stampModuleConfigSnapshotIfMoved
The same, only when the snapshot differs from the stored one: a config changed, or resolution read one the index had not recorded.
src/index.ts:1026
↓ 1 callers
Function
stampStale
(cg: CodeGraph, version = '0.1.0')
__tests__/mcp-index-version-warning.test.ts:30
↓ 1 callers
Method
stands
Whether a typed flow still stands now that `writtenElsewhere` is known.
src/resolution/parameter-flow.ts:408
↓ 1 callers
Method
starImports
The modules a Python file star-imports, which have no import mapping.
src/resolution/module-importers.ts:83
↓ 1 callers
Function
start
(name: string, mode: 'pause' | 'run')
__tests__/filelock-stale-takeover.test.ts:70
↓ 1 callers
Function
start
(root: string)
__tests__/query-pool.test.ts:692
↓ 1 callers
Function
start
(args: string[], env: Record<string, string> = {})
__tests__/mcp-stdout-failure.test.ts:96
↓ 1 callers
Function
start
()
__tests__/watcher.test.ts:1257
↓ 1 callers
Method
start
* Bind the socket, refresh the ownership record, kick off engine init, and * register signal handlers. The promise resolves once the server is list
src/mcp/daemon.ts:251
↓ 1 callers
Method
start
* Start the MCP server. * * Decision order: * 1. `CODEGRAPH_NO_DAEMON=1` → direct mode (unchanged pre-#411 behavior). * 2. `CODEGRAPH_
src/mcp/index.ts:500
↓ 1 callers
Method
start
* Start handling messages from the transport. Returns immediately — the * session lives for as long as the transport is open.
src/mcp/session.ts:181
↓ 1 callers
Function
startDaemon
A daemon process for the project, started the way a launcher starts one.
__tests__/daemon-older-version.test.ts:514
↓ 1 callers
Method
startDaemonProcess
* Run as the detached shared daemon (process spawned with * `CODEGRAPH_DAEMON_INTERNAL=1`). Arbitrate the O_EXCL lock, then either * become the
src/mcp/index.ts:654
↓ 1 callers
Function
startDetachedProcess
* A live process standing in for a daemon that does not answer its socket. * Its command line reads like a CodeGraph MCP server's: one that is plainl
__tests__/index-command.test.ts:68
↓ 1 callers
Method
startDirect
Single-process stdio MCP session — the pre-issue-#411 code path.
src/mcp/index.ts:588
↓ 1 callers
Function
startHolder
* Start a long-lived process to be named by the lock: `native` is no * JavaScript runtime, `node` is Node running something else, and * `codegraph-s
__tests__/daemon-lock-holder.test.ts:57
↓ 1 callers
Method
startIndexWatcher
* The index, through one watch on the data directory. * * Non-recursive and on the directory rather than the database file: SQLite * writes l
src/ui-server/api/events.ts:377
↓ 1 callers
Function
startInitialization
()
__tests__/fixtures/tail-render-ts/src/lib/session-store.ts:255
← previous
next →
8,901–9,000 of 12,468, ranked by callers