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
script
()
__tests__/upgrade.test.ts:337
↓ 1 callers
Function
scripted
__tests__/fixtures/kernel-parity/TortureScript.kts:3
↓ 1 callers
Function
seal
* How each arm ends, decided after its body is known: an arm whose last item * answers the request ends with the reply — the strongest thing a reader
src/ui-server/api/program.ts:379
↓ 1 callers
Function
sealFacet
(base: number, width: number)
__tests__/fixtures/displacement-ts/src/pipeline/publish.ts:124
↓ 1 callers
Function
search
(projectPath: string, symbol: string)
__tests__/mcp-projectpath-lifecycle.test.ts:185
↓ 1 callers
Method
searchAllByFilters
* Match-everything path used when the user supplied only field * filters (`kind:function lang:typescript`) with no text. Returns * candidates or
src/db/queries.ts:2052
↓ 1 callers
Function
searchCall
(id: number)
__tests__/mcp-index-version-warning.test.ts:58
↓ 1 callers
Function
searchCppIncludeDirs
( importPath: string, language: Language, context: ResolutionContext )
src/resolution/import-resolver.ts:1880
↓ 1 callers
Function
searchNameSubstring
( index: NameSubstringIndex, substring: string, kinds: readonly string[], excludePrefix: boolean, li
src/db/name-substring-index.ts:183
↓ 1 callers
Method
searchNodesFTS
* FTS5 search with prefix matching
src/db/queries.ts:2238
↓ 1 callers
Method
searchNodesFuzzy
* Fuzzy fallback: when zero FTS/LIKE hits, try an edit-distance * sweep over the distinct symbol-name set. Caps `maxDist` at 2 so * `getUssr` fi
src/db/queries.ts:2083
↓ 1 callers
Method
searchNodesLike
* LIKE-based substring search for cases where FTS doesn't match * Useful for camelCase matching (e.g., "signIn" finds "signInWithGoogle")
src/db/queries.ts:2327
↓ 1 callers
Function
secondsRemaining
Seconds left on the session, floored at zero.
__tests__/fixtures/factory-closure-ts/src/stores/session-store.ts:119
↓ 1 callers
Function
section
( id: EntrySection['id'], title: string, note: string, list: WireList<unknown>, groups: EntryGroup[]
ui/src/lib/entry-model.ts:212
↓ 1 callers
Function
sectionFor
The `**`<file>`**` section, header through the line before the next file header.
__tests__/explore-exact-target.test.ts:47
↓ 1 callers
Function
sectionFor
Return the ``**`<path>`** ...`` section for a file basename, header through the * line before the next bold header (or end of output). Headers are b
__tests__/adaptive-explore-sizing.test.ts:41
↓ 1 callers
Function
securityHeaders
* Security headers for every response. `styleNonce` is only passed for the * inline-styled login page; asset-served pages link a stylesheet instead.
telemetry-dashboard/src/index.ts:34
↓ 1 callers
Function
seed
(content: string)
__tests__/installer-targets.test.ts:4239
↓ 1 callers
Function
seed
(ids: string[], edges: Edge[])
__tests__/graph.test.ts:771
↓ 1 callers
Function
seedGitignore
(content: string)
__tests__/local-only-gitignore.test.ts:52
↓ 1 callers
Function
seedLegacyDay
Legacy rows as they were stored before migrations/0003: one `events` row per upload, count 1.
__tests__/telemetry-services.test.ts:343
↓ 1 callers
Function
seedPendingRefs
(cg: CodeGraph)
__tests__/wal-deferral.test.ts:197
↓ 1 callers
Function
seedSettings
(loc: 'global' | 'local', settings: Record<string, any>)
__tests__/installer-targets.test.ts:1152
↓ 1 callers
Function
seedVersion
Create a versions/<v>/bin dir with a dummy launcher, like a real bundle.
__tests__/install-sh-prune.test.ts:52
↓ 1 callers
Function
seek
(to: number)
src/resolution/cpp-raw-strings.ts:78
↓ 1 callers
Function
seen
(name: string, value: T)
__tests__/ui-package.test.ts:306
↓ 1 callers
Function
seenFrom
* The declarations code at `site` can see (visibleFrom), read for code in * the file `unit`, where a class local to a function counts only in that *
src/resolution/cpp-supertypes.ts:107
↓ 1 callers
Function
segJoin
(existing: string, segsStr: string)
src/resolution/frameworks/swift.ts:270
↓ 1 callers
Function
segments
All segment files of one arm's session, in turn order (t1, t2, t3, …).
scripts/agent-eval/parse-bench-readme.mjs:26
↓ 1 callers
Function
segmentsCross
Proper crossing of two segments (shared endpoints and touching do not count).
__tests__/ui-screens-model.test.ts:489
↓ 1 callers
Function
segmentsOf
Segment files of one run, in turn order: run-X.jsonl, run-X.t2.jsonl, …
scripts/agent-eval/compare-arms.mjs:27
↓ 1 callers
Function
selectHandler
* Pick the one handler for a route from same-request-type candidates. Usually a * single candidate. When several share the request type (a cloned add
src/resolution/goframe-synthesizer.ts:67
↓ 1 callers
Function
selfCallLines
(file: string)
__tests__/self-call-delegation.test.ts:107
↓ 1 callers
Function
selfCalling
`Owner.method` names of every method whose calls include itself.
__tests__/super-call-self-edge.test.ts:32
↓ 1 callers
Method
selfCloseTagName
* A void tag's name, lowercased, without the `cf` prefix (`<cfInclude …>` → * `include`). The grammar keeps no node for it: it is the text after `<
src/extraction/cfml-extractor.ts:571
↓ 1 callers
Function
selfHealBundle
()
scripts/npm-shim.js:112
↓ 1 callers
Function
selfHealInstalledSurfaces
* Refresh the agent surfaces previous installs wrote — the marker-fenced * instructions sections (CLAUDE.md / AGENTS.md / GEMINI.md), MCP entries, *
src/upgrade/index.ts:617
↓ 1 callers
Function
selfHealPromptHook
* Wire the Claude `UserPromptSubmit` front-load hook on upgrade for an * already-configured global Claude install. No-op when Claude isn't configured
src/upgrade/index.ts:637
↓ 1 callers
Function
selfIsTheClass
(method: FlowMethod, scope: FlowMethod)
src/resolution/ruby-parameter-flow.ts:507
↓ 1 callers
Function
selfLoops
(g: CodeGraph, file: string)
__tests__/resolution.test.ts:6523
↓ 1 callers
Function
selfName
(dir: string)
__tests__/watcher.test.ts:1432
↓ 1 callers
Function
selfNamed
(file: string, name: string)
__tests__/self-overload-calls.test.ts:86
↓ 1 callers
Function
selfValue
(site: FlowSite)
src/resolution/ruby-parameter-flow.ts:530
↓ 1 callers
Function
selftest
()
scripts/agent-eval/parse-run.mjs:952
↓ 1 callers
Function
send
(obj)
scripts/agent-eval/repro-daemon-clients.mjs:61
↓ 1 callers
Function
send
()
__tests__/mcp-daemon.test.ts:972
↓ 1 callers
Function
send
(message: object)
__tests__/security.test.ts:906
↓ 1 callers
Function
send
(child: ChildProcessWithoutNullStreams, msg: object)
__tests__/mcp-subproject-adoption.test.ts:78
↓ 1 callers
Function
send
(child: ChildProcessWithoutNullStreams, msg: object)
__tests__/mcp-roots.test.ts:73
↓ 1 callers
Function
send
(msg: object)
__tests__/serve-no-telemetry.test.ts:47
↓ 1 callers
Function
send
()
__tests__/mcp-tool-call-arguments.test.ts:36
↓ 1 callers
Method
send
Returns the lines that did NOT make it out (to be re-queued).
src/telemetry/index.ts:552
↓ 1 callers
Method
send
(method, params = {}, sessionId)
telemetry-dashboard/scripts/render-check.mjs:122
↓ 1 callers
Method
send
* Send the prepared request through the rest of the chain. The convenience * wrapper most callers use instead of building the request themselves.
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:210
↓ 1 callers
Method
send
(msg: string)
__tests__/fixtures/kernel-parity/torture.tsx:261
↓ 1 callers
Function
sendFile
( res: ServerResponse, absolutePath: string, options: { rootDir: string; method: string; extraHeaders?:
src/ui-server/static.ts:67
↓ 1 callers
Function
sendInitialize
(child: ChildProcessWithoutNullStreams, rootUri: string, id: number)
__tests__/mcp-daemon.test.ts:100
↓ 1 callers
Function
sendInitialize
(child: ChildProcessWithoutNullStreams, rootUri: string, id: number)
__tests__/daemon-pid-reuse.test.ts:93
↓ 1 callers
Function
sendInitialize
(child: ChildProcessWithoutNullStreams, projectPath: string)
__tests__/mcp-initialize.test.ts:53
↓ 1 callers
Function
sendMessage
(child: ChildProcessWithoutNullStreams, msg: unknown)
__tests__/daemon-pid-reuse.test.ts:89
↓ 1 callers
Function
sendMessage
(content: string, files: AttachedFile[], elements: SelectedElementRef[])
__tests__/fixtures/tail-render-ts/src/lib/session-store.ts:1026
↓ 1 callers
Function
sendRequest
(request: PipelineRequest)
__tests__/fixtures/starved-cluster-ts/src/app/client.ts:9
↓ 1 callers
Function
sensitiveFixture
* A temp folder holding a private home with its own `.ssh` and `.config`, and * the links a case makes. Links are removed before the tree, so the cle
__tests__/security.test.ts:471
↓ 1 callers
Function
sensitiveHomeTrees
* The sensitive home folders, folded: as spelled under the home directory, * under the home's real path (a linked home), and each folder's own real p
src/utils.ts:310
↓ 1 callers
Function
sensitiveSystemPaths
* The system set's own real paths, folded. macOS keeps `/etc`, `/tmp` and * `/var` under `/private`, so a project whose real path is `/private/etc` i
src/utils.ts:290
↓ 1 callers
Function
serializeRecord
(record: FlowRecord)
src/resolution/parameter-flow.ts:474
↓ 1 callers
Function
serializeTomlTableBody
(values: Record<string, string | string[]>)
src/installer/targets/toml.ts:36
↓ 1 callers
Function
series
(metric)
telemetry-dashboard/public/panels.js:43
↓ 1 callers
Function
serve
(msg: CallMessage)
src/mcp/query-worker.ts:103
↓ 1 callers
Function
serve
(root: string, dir: string, cg: CodeGraph)
__tests__/ui-entrypoints-api.test.ts:82
↓ 1 callers
Function
serveAsset
Gated static assets: the dashboard shell, its JS, its CSS, the chart library.
telemetry-dashboard/src/index.ts:220
↓ 1 callers
Function
serveLocally
(line: string)
src/mcp/proxy.ts:389
↓ 1 callers
Function
served
route name → the files of what it calls or references.
__tests__/file-routed-page-component.test.ts:70
↓ 1 callers
Function
servedBy
(routeName: string)
__tests__/laravel-controller-strings.test.ts:58
↓ 1 callers
Function
serverNames
The names of the servers under a block-style `mcp_servers`.
src/installer/targets/hermes.ts:379
↓ 1 callers
Function
service
()
__tests__/drupal-services.test.ts:389
↓ 1 callers
Function
service
(mod: string)
__tests__/go-nested-module.test.ts:35
↓ 1 callers
Function
serviceClass
(id: string, context: ResolutionContext)
src/resolution/frameworks/drupal.ts:659
↓ 1 callers
Function
serviceOnLine
The service the `\Drupal::service('x')->method()` on this reference's line asks for.
src/resolution/frameworks/drupal.ts:685
↓ 1 callers
Function
serviceReach
(service: string)
src/resolution/import-resolver.ts:704
↓ 1 callers
Function
services
(extra: Record<string, string>)
__tests__/python-module-resolution.test.ts:696
↓ 1 callers
Function
session
()
__tests__/mcp-tool-call-arguments.test.ts:28
↓ 1 callers
Function
sessionCookie
(token: string)
telemetry-dashboard/src/auth.ts:152
↓ 1 callers
Function
sessionWithDaemon
A session of `install` attached to a daemon of its own, which owns the project.
__tests__/daemon-older-version.test.ts:500
↓ 1 callers
Function
set
(id: string | null)
ui/src/lib/focus.svelte.ts:29
↓ 1 callers
Method
setAllocation
* Record the proportional split (CG-12), taken right after ranking and before * a single byte renders. Called once per explore.
src/mcp/explore-diagnostics.ts:409
↓ 1 callers
Function
setClass
(fqcn: string)
src/resolution/frameworks/drupal.ts:375
↓ 1 callers
Function
setDefault
( map: Map<string, { top: SidePort[]; bottom: SidePort[] }>, key: string )
ui/src/lib/map-model.ts:597
↓ 1 callers
Method
setDefaultRootRefusal
* Engine-only: record why the default project was refused as a sensitive * folder, so a call without a projectPath says why there is none. `null`
src/mcp/tools.ts:2182
↓ 1 callers
Method
setDeprioritizedPathMatcher
* Set the predicate that marks a path as de-prioritized by the project's * `codegraph.json` `deprioritize` patterns (#982). Ranking-only: those pat
src/db/queries.ts:689
↓ 1 callers
Function
setGenerated
(value: number)
__tests__/explore-named-symbol-render.test.ts:175
↓ 1 callers
Function
setGraphAdapter
(adapter: GraphAdapter | null)
ui/src/lib/adapter.ts:488
↓ 1 callers
Function
setIndexState
(state: string)
__tests__/status-language-coverage.test.ts:223
↓ 1 callers
Method
setLowValueFiltered
* Candidate count after the test/spec/icon/i18n hard-exclude — the FIRST * selection stage, ahead of the score floor.
src/mcp/explore-diagnostics.ts:340
↓ 1 callers
Function
setNavigationDriver
(next: NavigationDriver | null)
ui/src/lib/navigation.ts:230
↓ 1 callers
Method
setOnDatabaseReopened
* Engine-only: called after a tool call's {@link freshen} reopened a database * that was replaced on disk (#1902). The engine decides whether a cat
src/mcp/tools.ts:2217
↓ 1 callers
Function
setPlatform
(value: NodeJS.Platform)
__tests__/glyphs.test.ts:41
↓ 1 callers
Method
setProjectNameTokens
Set the normalized project-name tokens used to down-weight non-discriminative * query words in path scoring (#720). Called once when the project op
src/db/queries.ts:674
↓ 1 callers
Method
setProjectPathHint
* Convenience for {@link MCPServer} compatibility: pre-seed an explicit * project path (from the `--path` CLI flag) without yet opening it. This
src/mcp/engine.ts:180
↓ 1 callers
Function
setRecord
(cg: CodeGraph, value: string)
__tests__/parameter-flow.test.ts:753
← previous
next →
8,701–8,800 of 12,468, ranked by callers