MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,347 in github.com/colbymchenry/codegraph

↓ 1 callersFunctionspawnFakeDaemon
* `spawnSync` blocks this thread, so a fake daemon inside the test process * could never answer the hook. This one runs as its own process, on the *
__tests__/prompt-hook-daemon.test.ts:283
↓ 1 callersFunctionspawnMcp
( cwd: string, env: NodeJS.ProcessEnv, )
__tests__/mcp-writer-lock.test.ts:28
↓ 1 callersFunctionspawnServer
(cwd: string, env: NodeJS.ProcessEnv = {}, args: string[] = [])
__tests__/mcp-daemon.test.ts:58
↓ 1 callersFunctionspawnServer
(cwd: string, args: string[] = [])
__tests__/mcp-lazy-watchdog.test.ts:25
↓ 1 callersFunctionspawnServer
(cwd: string, handshakeTimeoutMs: number)
__tests__/mcp-startup-orphan.test.ts:30
↓ 1 callersFunctionspawnServer
(cwd: string, env: NodeJS.ProcessEnv = {})
__tests__/daemon-pid-reuse.test.ts:53
↓ 1 callersFunctionspawnServer
(cwd: string)
__tests__/mcp-unindexed.test.ts:27
↓ 1 callersFunctionspawnServer
(cwd: string)
__tests__/mcp-subproject-adoption.test.ts:27
↓ 1 callersFunctionspawnServer
(cwd: string)
__tests__/mcp-roots.test.ts:29
↓ 1 callersFunctionspawnServer
(cwd: string)
__tests__/mcp-initialize.test.ts:38
↓ 1 callersFunctionspawnerOf
The child_process function a call invokes, or null when it isn't one.
__tests__/child-process-windows-hide.test.ts:106
↓ 1 callersFunctionspec
(n: number)
__tests__/explore-relevance-scoring.test.ts:300
↓ 1 callersFunctionspec
(rel: string)
__tests__/cli-affected-filter-globs.test.ts:47
↓ 1 callersFunctionspecializationOf
A specialization, from the arguments it writes (as they compare) and its head.
src/resolution/cpp-template-instantiations.ts:348
↓ 1 callersFunctionsplit
(it: string)
src/resolution/go-func-field-synthesizer.ts:214
↓ 1 callersFunctionsplitHostPort
* 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 callersFunctionsplitParameters
The parameters of a list, at its top-level commas.
src/resolution/override-parameters.ts:341
↓ 1 callersFunctionsplitParameters
A parameter list's items, the optional group's (`{…}` / `[…]`, always last) included.
src/resolution/dart-local-scope.ts:277
↓ 1 callersFunctionsplitPlus
An expression's `+` operands at depth 0, strings and brackets stepped over.
src/resolution/frameworks/angular-router.ts:205
↓ 1 callersFunctionsplitSubsections
* 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 callersFunctionsplitTopLevel
`text` cut at its commas outside any bracket or string.
src/resolution/ruby-parameter-flow.ts:112
↓ 1 callersFunctionsplitTopLevel
A list's comma-separated items at depth 0, strings and brackets stepped over.
src/resolution/frameworks/nestjs.ts:881
↓ 1 callersFunctionsplitTopLevel
`text` split at its top-level commas: none inside brackets, parentheses, braces or literals.
src/resolution/frameworks/aspnet-routes.ts:137
↓ 1 callersFunctionsplitTopLevelObjects
* 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:933
↓ 1 callersFunctionsplitWildcard
(pattern: string)
src/resolution/path-aliases.ts:259
↓ 1 callersFunctionsplit_top_level
splitTopLevel(body, sep): split on `sep` at brace/paren/bracket depth 0.
codegraph-kernel/src/cfnptr.rs:997
↓ 1 callersFunctionspread
(list: string[], left: number)
ui/src/lib/steps-model.ts:848
↓ 1 callersFunctionspread
`n` files under `dir`, each carrying `each` symbols.
__tests__/ui-map-api.test.ts:373
↓ 1 callersFunctionspringEventEdges
(ctx: ResolutionContext, onYield: MaybeYield)
src/resolution/callback-synthesizer.ts:4372
↓ 1 callersFunctionspringFirstParamType
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:4358
↓ 1 callersFunctionspringMvcReplies
(node: Node)
src/ui-server/api/steps.ts:876
↓ 1 callersFunctionspringViewString
* 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 callersFunctionspyCompute
(cg: CodeGraph)
__tests__/dominant-file-cache.test.ts:34
↓ 1 callersFunctionspyContext
(nodes: Node[])
__tests__/resolution.test.ts:434
↓ 1 callersFunctionspyOnIndexDdl
Record the index DDL every connection on this thread runs from now on.
__tests__/index-recovery-off-thread.test.ts:103
↓ 1 callersFunctionspyReopen
Spies on both re-open paths of the orchestrator.
__tests__/python-module-resolution.test.ts:1164
↓ 1 callersFunctionsqliteError
A node:sqlite error as SQLite reports it.
__tests__/sqlite-open-error.test.ts:70
↓ 1 callersFunctionsqliteLength
`length(text)` as SQLite counts it: characters, so a surrogate pair is one.
src/db/name-substring-index.ts:57
↓ 1 callersFunctionsrcBuildFolderOf
* 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 callersFunctionsrvOn
(pick: (line: string) => boolean)
__tests__/go-type-assertion-calls.test.ts:128
↓ 1 callersFunctionstack_pop
Returns false instead of aborting when there is nothing to pop, so that no input can terminate the host process through this path.
codegraph-kernel/grammars/kotlin/scanner.c:115
↓ 1 callersFunctionstage
(osfam = windows ? 'win32' : process.platform)
__tests__/bundle-launcher.test.ts:32
↓ 1 callersMethodstageAdd
(stage: string, ref: UnresolvedRef, hit: boolean, t0: bigint)
src/resolution/index.ts:2775
↓ 1 callersFunctionstaleIndex
(root: string)
__tests__/mcp-daemon.test.ts:194
↓ 1 callersFunctionstampIndexStale
(cg: CodeGraph, version: string)
__tests__/mcp-daemon.test.ts:173
↓ 1 callersMethodstampIndexedFrameworks
Record the frameworks a full index extracted every file with; none has come or gone since.
src/index.ts:1071
↓ 1 callersMethodstampModuleConfigSnapshot
Record the module-config files the index was resolved by, for a later sync to compare against (see sync).
src/index.ts:1033
↓ 1 callersMethodstampModuleConfigSnapshotIfMoved
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:1041
↓ 1 callersFunctionstampStale
(cg: CodeGraph, version = '0.1.0')
__tests__/mcp-index-version-warning.test.ts:30
↓ 1 callersMethodstands
Whether a typed flow still stands now that `writtenElsewhere` is known.
src/resolution/parameter-flow.ts:408
↓ 1 callersMethodstarImports
The modules a Python file star-imports, which have no import mapping.
src/resolution/module-importers.ts:84
↓ 1 callersFunctionstart
(name: string, mode: 'pause' | 'run')
__tests__/filelock-stale-takeover.test.ts:70
↓ 1 callersFunctionstart
(root: string)
__tests__/query-pool.test.ts:692
↓ 1 callersFunctionstart
(args: string[], env: Record<string, string> = {})
__tests__/mcp-stdout-failure.test.ts:96
↓ 1 callersFunctionstart
()
__tests__/watcher.test.ts:1257
↓ 1 callersMethodstart
* 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:321
↓ 1 callersMethodstart
* Start the MCP server. * * Decision order: * 1. `CODEGRAPH_NO_DAEMON=1` → direct mode (unchanged pre-#411 behavior). * 2. `CODEGRAPH_
src/mcp/index.ts:498
↓ 1 callersMethodstart
* Start handling messages from the transport. Returns immediately — the * session lives for as long as the transport is open.
src/mcp/session.ts:222
↓ 1 callersFunctionstartDaemon
A daemon process for the project, started the way a launcher starts one.
__tests__/daemon-older-version.test.ts:514
↓ 1 callersMethodstartDaemonProcess
* 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:672
↓ 1 callersFunctionstartDetachedProcess
* 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 callersMethodstartDirect
Single-process stdio MCP session — the pre-issue-#411 code path.
src/mcp/index.ts:586
↓ 1 callersFunctionstartHolder
* 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 callersMethodstartIndexWatcher
* 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 callersFunctionstartInitialization
()
__tests__/fixtures/tail-render-ts/src/lib/session-store.ts:255
↓ 1 callersMethodstartLivenessTimers
* Defense-in-depth against a daemon that outlives its clients (#692), for the * cases the refcount + idle timer miss because a socket close never a
src/mcp/daemon.ts:608
↓ 1 callersFunctionstartOwner
* A daemon owner starts with idle exit OFF. Armed at startup, its 500ms * timer raced this process's first connection and lost on a loaded machine,
__tests__/mcp-projectpath-lifecycle.test.ts:120
↓ 1 callersFunctionstartPpidWatchdog
* PPID watchdog mirroring the one in `MCPServer.start` — kills the proxy if * the MCP host (or its proxy of a host, see HOST_PPID_ENV) goes away with
src/mcp/proxy.ts:814
↓ 1 callersFunctionstartPpidWatchdogNoSocket
PPID watchdog for the local-handshake proxy — same #277 logic as * {@link startPpidWatchdog} but with no socket to close (the caller's shutdown *
src/mcp/proxy.ts:628
↓ 1 callersFunctionstartProxy
(script: string, env: Record<string, string> = {})
__tests__/proxy-shutdown.test.ts:65
↓ 1 callersMethodstartRecursive
* macOS/Windows: one root stream, supplemented for directory symlinks. * `filename` arrives relative to the project root (with subdirectories), so
src/sync/watcher.ts:487
↓ 1 callersFunctionstartSession
()
__tests__/fixtures/tail-render-ts/src/lib/session-store.ts:394
↓ 1 callersMethodstartSourceWatcher
* The project tree, through the engine's watcher with the sync taken out. * * The `syncFn` is the whole trick: the watcher calls it with exactly
src/ui-server/api/events.ts:329
↓ 1 callersFunctionstartViewer
* Start `codegraph ui` and wait for the URL it prints. * * The banner IS the readiness signal: the server is bound before the URL is * printed, so
__tests__/cli-ui-command.test.ts:75
↓ 1 callersFunctionstartsExpr
Whether `t` can start an expression the scan reads.
src/extraction/languages/rust-macro-calls.ts:180
↓ 1 callersFunctionstartsWithAny
(p: string, prefixes: string[])
__tests__/explore-allocation-1500.test.ts:59
↓ 1 callersFunctionstartsWithPath
(a: readonly string[], prefix: readonly string[])
src/installer/targets/toml.ts:368
↓ 1 callersFunctionstarts_upper_re
The #750 re-encode gate (`/^[A-Z]/`).
codegraph-kernel/src/scala.rs:111
↓ 1 callersFunctionstarts_upper_re
The chained-call re-encode gate (`/^[A-Z]/`).
codegraph-kernel/src/dart.rs:95
↓ 1 callersFunctionstate
()
__tests__/migration-concurrent-opens.test.ts:117
↓ 1 callersFunctionstateOf
Every edge by its ends' natural keys, and every reference left unresolved.
__tests__/sync-memo-lifetime.test.ts:51
↓ 1 callersFunctionstatementEnd
The `;` that ends a `@let` declaration's expression, or -1.
src/resolution/angular-template-synthesizer.ts:446
↓ 1 callersFunctionstatementPosition
* The kind of statement position the token from `at` to `end` makes for what follows it: 1 for a case label's * `:`, 0 for `then`, `else` or `do`, -1
src/extraction/languages/pascal-preparse.ts:906
↓ 1 callersFunctionstatementsShape
* Whether the code from `from` to `to`, a conditional's branch, holds whole statements: its blocks and brackets * close, every `if` has its `then` an
src/extraction/languages/pascal-preparse.ts:765
↓ 1 callersFunctionstaticCalls
(fn: Node)
src/resolution/go-func-field-synthesizer.ts:486
↓ 1 callersFunctionstatus
(id: number)
__tests__/daemon-silent-holder.test.ts:224
↓ 1 callersFunctionstatus
(text: string, args: string | null = null)
__tests__/steps-server-rendered-replies.test.ts:204
↓ 1 callersFunctionstatusJson
(cwd: string)
__tests__/status-during-rebuild.test.ts:32
↓ 1 callersFunctionstatusJson
(...args: string[])
__tests__/status-language-coverage.test.ts:67
↓ 1 callersFunctionstatusPropertyIn
`{ status: 201 }` inside an argument — the literal an abbreviated object hides.
src/graph/branch-guards.ts:486
↓ 1 callersFunctionstatusRunsWithoutTheStamp
()
__tests__/status-sparse-checkout.test.ts:266
↓ 1 callersFunctionstatusSetBefore
* `res.status(202); res.json(user)` — the status set by an earlier statement * in the same block, when the reply's own chain sets none. Only a statem
src/graph/branch-guards.ts:574
↓ 1 callersFunctionstatusText
(cg: CodeGraph)
__tests__/status-language-coverage.test.ts:320
↓ 1 callersFunctionstays
(e: Edge & { edgeId: number })
src/resolution/module-importers.ts:271
↓ 1 callersFunctionstem
(p: string)
src/resolution/cpp-type-aliases.ts:379
↓ 1 callersFunctionstem
(p: string)
src/resolution/cpp-supertypes.ts:428
↓ 1 callersFunctionstemOf
(basename: string)
src/ui-server/api/map.ts:225
↓ 1 callersFunctionstepByLabel
(label: string)
__tests__/expo-router.test.ts:577
↓ 1 callersFunctionstepFor
(node: Node, kind: WireStepKind, depth: number, extra: Partial<WireStep> = {})
src/ui-server/api/steps.ts:753
↓ 1 callersFunctionstepNeighbourhood
( payload: WireStepsPayload, id: string )
ui/src/lib/steps-model.ts:1183
← previousnext →9,701–9,800 of 13,347, ranked by callers