MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,088 in github.com/colbymchenry/codegraph

MethodgetFile
* Get a file record by path
src/index.ts:3014
MethodgetFileDependentCounts
* How many other files depend on each of the given files, counted through * their symbols (an `imports` edge points at the symbol, not the file).
src/index.ts:2608
MethodgetFileImportPairs
* Every ordered pair of files where one imports the other — the edge list * circular imports are found on. See {@link QueryBuilder.getFileImportPai
src/index.ts:2665
MethodgetFileNodes
The `file` nodes for the given paths, in one query.
src/index.ts:2628
MethodgetFileReachCounts
* How far each of the given files reaches out: distinct other files their * symbols touch, and how many references that is. The mirror of * {@li
src/index.ts:2619
MethodgetFilesIndexedSince
* Files re-indexed strictly after `since`, newest first — what a sync just * picked up. `total` is the real count, `paths` is capped at `limit`.
src/index.ts:2235
MethodgetFilteredSubgraph
* Get subgraph containing nodes matching a filter * * @param filter - Filter function to select nodes * @param includeEdges - Whether to incl
src/graph/queries.ts:304
MethodgetIncomingEdges
* Get incoming edges to a node
src/index.ts:3003
MethodgetIncomingEdges
* Get incoming edges to a node. Kind must precede opaque source IDs: * file IDs sort before function IDs, so source-first ordering lets imports
src/db/queries.ts:2811
MethodgetIndexRevision
* How far the last sync got and how many files it left behind — the cheapest * marker of "has this index moved". One query; safe to call on every
src/index.ts:2227
FunctiongetLanguageDisplayName
(language: Language)
src/extraction/grammars.ts:1139
MethodgetLanguagesWithExports
* Which of the given languages this index records an export marker for. A * language with none has no "reachable from outside" signal at all.
src/index.ts:2524
FunctiongetLogger
()
src/errors.ts:245
MethodgetMethodMatches
* The method-definition nodes matching `typeName::methodName` in the language family — * exactly `resolveMethodOnType`'s kind/language/qualifiedNam
src/resolution/types.ts:161
FunctiongetMigrationHistory
( db: SqliteDatabase )
src/db/migrations.ts:398
MethodgetModuleStructure
* Get the module/package structure * * Returns a tree structure of files organized by directory. * * @returns Map of directory paths to co
src/graph/queries.ts:206
MethodgetName
()
__tests__/fixtures/kernel-parity/Torture.java:117
FunctiongetNavigationDriver
()
ui/src/lib/navigation.ts:234
MethodgetNodeById
* Get a node by ID
src/db/queries.ts:1175
MethodgetNodeMetrics
* Get complexity metrics for a node * * @param nodeId - ID of the node * @returns Object containing various complexity metrics
src/graph/queries.ts:238
MethodgetNodeNamesOfKinds
The names of a language's nodes of the given kinds (repeats included), decoding nothing else.
src/db/queries.ts:4793
MethodgetNodesByKind
* Get all nodes of a specific kind
src/index.ts:2706
MethodgetNodesByKind
* Get all nodes of a specific kind
src/db/queries.ts:1626
MethodgetNodesByLowerName
* Get nodes by name, case-insensitively (seeks the idx_nodes_lower_name * expression index). * * The parameter is lowered in SQL rather than
src/db/queries.ts:1827
MethodgetNodesByName
* Get ALL nodes with an exact name (direct index lookup, not FTS-ranked/capped). * Used to enumerate every overload of a heavily-overloaded name so
src/index.ts:2715
MethodgetNodesByName
* Get nodes by exact name match (uses idx_nodes_name index). * * This is resolution's candidate list, and the ORDER BY is load-bearing for *
src/db/queries.ts:1748
MethodgetNodesByNamePrefix
Nodes whose name starts with `prefix` (index range scan, capped).
src/index.ts:2720
MethodgetNodesByQualifiedName
* Every symbol carrying an exact qualified name. * * The identity that survives a re-index. A node's id contains its start line, * so any edi
src/index.ts:2460
MethodgetNodesInFile
* Get all nodes in a file
src/index.ts:2692
MethodgetPeakUsage
* Get peak memory usage in bytes
src/utils.ts:905
MethodgetProjectNameTokens
* Normalized project-name tokens (go.mod / package.json / repo dir) used to * down-weight the non-discriminative project name in search ranking (#7
src/index.ts:2949
MethodgetProjectRoot
* Get the project root directory
src/index.ts:644
MethodgetRoutingManifest
* Build a URL → handler routing manifest from the index. Each entry * pairs a route node (URL + method) with its handler function/method * via t
src/index.ts:2971
FunctiongetRun
(id: string)
__tests__/fixtures/explore-path-pinning/src/lib/runs-store.ts:16
MethodgetSettlesToExcel
($storeIds, $dayRange)
__tests__/fixtures/php-import-alias-static/app/Repositories/SettleRepository.php:5
MethodgetSocketPath
The socket path the daemon is (or will be) listening on.
src/mcp/daemon.ts:458
MethodgetStaleFiles
* Get files that need re-indexing (hash changed)
src/db/queries.ts:4456
FunctiongetStarsLabel
(fallback = '22k')
site/src/lib/github.ts:39
MethodgetTopCallingFiles
* The graph's executable roots — files that run something at module level (a * CLI, a worker entry, a script), ranked by calls x the number of othe
src/index.ts:2597
MethodgetTopDependedOn
* The symbols with the most distinct dependents, most first — the index's * hubs. Distinct dependents, not edges: a helper called forty times from
src/index.ts:2587
MethodgetTopRouteFile
* Find the file that holds the densest concentration of the project's * `route` nodes (framework-emitted: Express/Gin/Flask/Rails/Drupal/etc.).
src/db/queries.ts:1499
MethodgetTransport
Underlying transport — exposed for daemon-side close hooks.
src/mcp/session.ts:235
MethodgetTraverser
* Access the underlying traverser for direct traversal operations
src/graph/queries.ts:359
MethodgetUnresolvedByName
* Get unresolved references by name (for resolution)
src/db/queries.ts:4535
MethodgetUnresolvedReferenceNamesFrom
* The names each of the given symbols refers to, by reference kind, where * the resolver could not follow the reference — a decorator or an interfa
src/index.ts:2550
MethodgetUnresolvedReferenceSourcesNamed
* Every symbol that refers to each of the given names, by reference kind, * where the resolver could not follow it: for `implements`, every class t
src/index.ts:2559
MethodgetUnresolvedReferencesBatch
* Get a batch of PENDING unresolved references using LIMIT/OFFSET * pagination. Used to process references in bounded memory chunks; failed * ro
src/db/queries.ts:4644
MethodgetWithMetadata
(id: string)
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:85
MethodgetWithMetadata
( key: Key, options?: Partial<KVNamespaceGetOptions<undefined>>, )
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:150
Functiongin
(p: string)
__tests__/symbol-lookup-go-packages.test.ts:71
Functionglob2re
(glob)
scripts/agent-eval/parse-run.mjs:453
FunctiongoAlwaysExits
(node: SyntaxNode | null)
src/graph/branch-guards.ts:1889
FunctiongoComparableType
* A Go type as two declarations can compare it: with no spaces or package * qualifiers, as the two may sit in different packages and write `Context`
src/resolution/callback-synthesizer.ts:949
Functiongrammar_info
(language: String)
codegraph-kernel/src/lib.rs:108
Methodgreet
__tests__/fixtures/kernel-parity/torture.rb:25
FunctiongroupMeta
(group: WireDeadCodeGroup)
ui/src/lib/deadcode-model.ts:74
MethodguaranteedOf
(path: string, reserved: number)
src/mcp/tools.ts:5852
FunctionguardNoPrune
()
__tests__/fixtures/kernel-parity/torture.swift:200
FunctionhandleClear
()
__tests__/fixtures/kernel-parity/torture.tsx:276
MethodhandleClick
()
__tests__/fixtures/kernel-parity/torture.tsx:64
FunctionhandleDeleteRequest
(request: Request, key: string)
__tests__/fixtures/ambient-decls-ts/src/routes/upload.ts:59
FunctionhandleFeedScroll
()
__tests__/fixtures/explore-path-pinning/src/routes/m/projects/[id]/runs/[runId]/+page.ts:30
FunctionhandleInitMessage
()
__tests__/fixtures/tail-render-ts/src/lib/session-store.ts:304
FunctionhandleLine
* Handle an incoming line of JSON. Both transports feed lines here.
src/mcp/transport.ts:163
MethodhandleMessage
(message: JsonRpcRequest | JsonRpcNotification)
src/mcp/session.ts:248
FunctionhandleMessagesScroll
(distance: number)
__tests__/fixtures/explore-path-pinning/src/routes/(protected)/chat-window/+page.ts:7
FunctionhandleResponse
* Resolve (or reject) the pending server-initiated request matching this * response's id. Unknown ids are ignored — the client may echo something w
src/mcp/transport.ts:224
FunctionhandleUploadRequest
(request: Request)
__tests__/fixtures/ambient-decls-ts/src/routes/upload.ts:16
Functionhandle_recv
__tests__/fixtures/kernel-parity/torture.c:60
Functionhandler
(req, res, ctx)
src/ui-server/api/index.ts:257
Functionhandler
()
__tests__/fixtures/kernel-parity/torture.rs:249
Functionhandler
()
__tests__/fixtures/kernel-parity/torture.swift:110
Methodhandler
()
src/sync/watcher.ts:1025
Functionhandler2
()
__tests__/fixtures/kernel-parity/torture.rs:250
FunctionhandsOn
(name)
src/resolution/ruby-parameter-flow.ts:655
Functionhas
(id: string)
src/graph/dead-code.ts:1098
FunctionhasCommand
(cmd: string)
src/upgrade/index.ts:903
MethodhasDefaultCodeGraph
* Whether a default CodeGraph instance is available
src/mcp/tools.ts:2316
MethodhasFilesOfLanguage
Does the index hold any file of this language? One seek on idx_files_language.
src/db/queries.ts:1838
MethodhasFilesUnder
* Whether the index holds any file under `dir`, a project-relative POSIX * directory (e.g. `packages/api`).
src/index.ts:3022
FunctionhasMcpConfig
(location: InstallLocation)
src/installer/config-writer.ts:42
FunctionhasPermissions
(location: InstallLocation)
src/installer/config-writer.ts:52
FunctionhasRoles
Does the signed-in user hold every one of these roles?
__tests__/fixtures/factory-closure-ts/src/stores/session-store.ts:109
FunctionhasStaticModifier
(node: SyntaxNode)
src/extraction/languages/typescript.ts:11
Functionhdr_raw
__tests__/fixtures/kernel-parity/torture.c:170
Methodhead
(key: string)
__tests__/fixtures/ambient-decls-ts/types/platform-shims.d.ts:14
Methodhead
(key: string)
__tests__/fixtures/ambient-decls-ts/types/worker-configuration.d.ts:19
MethodheadWindowOf
( r: ExploreLineRange, room: number, minLines = 0, )
src/mcp/tools.ts:6277
MethodheaderDefaults
()
__tests__/fixtures/dense-header-ts/src/net/session.ts:106
MethodheaderFor
( symbols: readonly string[], elided: ReadonlyArray<ElidedSymbolRef> = [], /** Longest
src/mcp/tools.ts:7662
Functionhealth
(w http.ResponseWriter, _ *http.Request)
__tests__/fixtures/payroll-go/internal/transport/httpapi/router.go:16
Methodhealthy
False once the crash budget is exhausted (or after destroy).
src/extraction/parse-pool.ts:301
Methodhealthy
* False once the crash budget is exhausted (or after destroy). The ToolHandler * checks this and falls back to in-process dispatch — a broken worke
src/mcp/query-pool.ts:244
Methodheard
(event: Event)
__tests__/fixtures/kernel-parity/torture.swift:59
Functionhello
(event)
ui/src/lib/live.svelte.ts:183
Methodhelper
__tests__/fixtures/kernel-parity/torture.kt:346
Methodhelper
(arg)
__tests__/fixtures/kernel-parity/torture.py:22
Methodhelper_count
__tests__/fixtures/kernel-parity/torture.cpp:18
Functionhelper_pub
()
__tests__/fixtures/kernel-parity/torture.rs:302
Functionhidden
()
__tests__/fixtures/kernel-parity/torture.rs:303
← previousnext →11,201–11,300 of 13,088, ranked by callers