MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,347 in github.com/colbymchenry/codegraph

↓ 4 callersFunctioncheckDuration
(name: string, ms: number)
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:309
↓ 4 callersFunctioncheck_word
Check if a sequence of characters matches the given word and is followed by a non-word character. Uses skip() so characters are not included in the cu
codegraph-kernel/grammars/kotlin/scanner.c:453
↓ 4 callersMethodcheckpointWalPassive
* `PRAGMA wal_checkpoint(PASSIVE)` on a worker thread with its own * connection. PASSIVE never blocks the writer, and running it off-thread * me
src/db/index.ts:749
↓ 4 callersFunctionchildrenOf
The keys one level inside the block [start, end), and the indent they use (null when empty).
src/installer/targets/hermes.ts:249
↓ 4 callersMethodclaimsReference
* Opt a reference NAME through the resolver's name-exists pre-filter, even when * no node is named that. Needed for dynamic dispatch where the call
src/resolution/types.ts:407
↓ 4 callersFunctionclassNamed
The qualified name of the class `names` spells, looked up from `scopes`.
src/resolution/cpp-type-aliases.ts:574
↓ 4 callersFunctionclassOfRoutine
The class a method belongs to: its qualified name's owner, declared in the method's own file.
src/resolution/pascal-scope.ts:1904
↓ 4 callersMethodclassesNamed
The classes of a qualified name, in file and line order: the walks above take the first that fits.
src/resolution/cpp-template-instantiations.ts:453
↓ 4 callersFunctionclauses
(when: string)
ui/src/lib/conditions.ts:60
↓ 4 callersFunctioncleanup
()
__tests__/mcp-writer-lock.test.ts:83
↓ 4 callersFunctioncleanupDaemonArtifacts
Remove stale artifacts while holding the project writer slot exclusively.
src/mcp/daemon-registry.ts:176
↓ 4 callersMethodclearPending
()
src/telemetry/index.ts:404
↓ 4 callersMethodclose
()
__tests__/fixtures/starved-cluster-ts/src/pipeline/types.ts:26
↓ 4 callersFunctioncloseParen
Index just past the `)` that closes the `(` at `open`, skipping strings; -1 if unbalanced.
src/resolution/tier-synthesizer.ts:71
↓ 4 callersFunctionclosingBracket
The index of the bracket closing the one at `open` — `(`, `[` or `{` — or -1; string literals skipped.
src/resolution/override-parameters.ts:393
↓ 4 callersMethodcol_of
(&self, node: Node)
codegraph-kernel/src/ruby.rs:236
↓ 4 callersMethodcol_of
(&self, node: Node)
codegraph-kernel/src/php.rs:277
↓ 4 callersFunctioncollectBeforeExit
()
src/worker-teardown.ts:79
↓ 4 callersFunctioncollectCTypeNames
Collects the type names under `node` onto `names`, in source order.
src/extraction/languages/c-cpp.ts:172
↓ 4 callersMethodcollect_type_names
collectCTypeNames (languages/c-cpp.ts).
codegraph-kernel/src/ccpp/mod.rs:2265
↓ 4 callersFunctioncompareVersions
(a: string, b: string)
src/upgrade/index.ts:248
↓ 4 callersFunctioncomputeAllocation
(exploreTexts, answerText)
scripts/agent-eval/parse-run.mjs:565
↓ 4 callersFunctioncondText
(node: SyntaxNode | null | undefined)
src/graph/branch-guards.ts:1169
↓ 4 callersFunctioncondition
(expression: string)
src/resolution/cpp-macro-visibility.ts:309
↓ 4 callersFunctionconstructor_word
codegraph-kernel/grammars/kotlin/scanner.c:695
↓ 4 callersFunctionconsume
codegraph-kernel/grammars/lua/scanner.c:16
↓ 4 callersFunctioncppIncluders
(filePath: string, context: ResolutionContext)
src/resolution/cpp-includers.ts:184
↓ 4 callersFunctioncppNamespaceAliases
(context: ResolutionContext)
src/resolution/cpp-namespaces.ts:37
↓ 4 callersFunctioncppNamespaceMacros
* The project's namespace-opening macros — `#define FMT_BEGIN_NAMESPACE * namespace fmt { inline namespace v12 {`, `#define RAPIDJSON_NAMESPACE_BEGIN
src/resolution/cpp-namespaces.ts:72
↓ 4 callersMethodcreateEdges
* Create edges from resolved references
src/resolution/index.ts:2327
↓ 4 callersFunctioncrypto
()
src/mcp/daemon-proof.ts:34
↓ 4 callersFunctioncurrent_sp
()
codegraph-kernel/src/stack.rs:59
↓ 4 callersFunctiondaemonKeyPath
()
src/mcp/daemon-proof.ts:39
↓ 4 callersFunctiondaemonProof
(key: Buffer, challenge: string, socketPath: string)
src/mcp/daemon-proof.ts:105
↓ 4 callersFunctiondartMisparsedGenericCall
(lt: SyntaxNode)
src/extraction/languages/dart.ts:229
↓ 4 callersFunctiondeclaredTypeText
* The text of the type a field, variable, constant or property declares, * from its declaration on: `TFoo; // the foo` for `FFoo: TFoo; // the foo`.
src/resolution/pascal-scope.ts:2652
↓ 4 callersFunctiondirOf
(file: string)
src/resolution/c-feature-variants.ts:78
↓ 4 callersFunctiondiskSignature
* What framework detection found at a path, to tell later whether it changed: * a file's size and modification time, a folder's sub-folders, or '-' w
src/extraction/index.ts:228
↓ 4 callersFunctiondisplayName
(node: Node)
src/mcp/explore-one-symbol.ts:166
↓ 4 callersMethoddocstring_of
docstringFor (tree-sitter.ts) — the preceding comment run, looked up from the declaration wrapper when there is one, without the comments that trail t
codegraph-kernel/src/go.rs:407
↓ 4 callersMethoddrain
()
src/extraction/parse-pool.ts:497
↓ 4 callersMethoddraw
__tests__/fixtures/kernel-parity/torture.kt:109
↓ 4 callersFunctiondshHome
()
src/installer/targets/dsh.ts:63
↓ 4 callersFunctioneditJson
( text: string, jsonPath: Array<string | number>, value: unknown, options: { isArrayInsertion?: boolea
src/installer/targets/json-config.ts:46
↓ 4 callersFunctionembeds
(id: string)
src/resolution/callback-synthesizer.ts:1142
↓ 4 callersFunctionemit
(value: number)
src/resolution/callback-synthesizer.ts:5512
↓ 4 callersFunctionencodeTrail
(hops: readonly TrailHop[])
ui/src/lib/trail-codec.ts:46
↓ 4 callersMethodendBulkEdgeLoad
* Leave bulk-edge-load mode: recreate the dropped indexes in one pass each * over the (now fully loaded) edges table — far cheaper than maintaining
src/db/index.ts:439
↓ 4 callersMethodendBulkNodeLoad
* Leave bulk-load mode: rebuild the whole FTS index from the nodes table in * one pass (far cheaper than per-row trigger firings), then recreate th
src/db/index.ts:275
↓ 4 callersFunctionendFreshnessMeasurements
()
src/mcp/index-freshness.ts:36
↓ 4 callersFunctionexploreViaDaemon
(projectRoot: string, query: string, deadlineMs: number)
src/mcp/hook-client.ts:210
↓ 4 callersFunctionextract
(file: string, source: string)
__tests__/drupal-services.test.ts:13
↓ 4 callersMethodextractOwnedObjectMembers
* Extract an owned literal's members: each function member becomes a node * of its own, qualified under the owner (at file scope for one on the glo
src/extraction/tree-sitter.ts:3586
↓ 4 callersFunctionextractProseCandidates
(prompt: string)
src/search/identifier-segments.ts:114
↓ 4 callersMethodextractVariableTypeAnnotation
* Extract type references from a variable's type annotation.
src/extraction/tree-sitter.ts:8989
↓ 4 callersMethodextract_csharp_type_refs
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/csharp.rs:1313
↓ 4 callersMethodextract_decorators_for
extractDecoratorsFor — Java annotations live inside `modifiers`.
codegraph-kernel/src/java.rs:1078
↓ 4 callersMethodextract_decorators_for
extractDecoratorsFor — swift `attribute` nodes inside `modifiers`. Coverage: functions/methods/classes/dedicated-branch properties only.
codegraph-kernel/src/swift.rs:1251
↓ 4 callersMethodextract_inheritance
extractInheritance — the swift inheritance_specifier case: FIRST type_identifier of each specifier's user_type, everything as `extends` (conformances
codegraph-kernel/src/swift.rs:1197
↓ 4 callersMethodextract_inheritance
extractInheritance — the C# base_list branch (5577): EVERY namedChild emits one `extends` ref (interfaces conflated by design; the garbage `(repo)` ar
codegraph-kernel/src/csharp.rs:1287
↓ 4 callersMethodextract_inheritance
extractInheritance — the branches whose node kinds occur in the c/cpp grammars: base_class_clause (#1043) and the field_declaration_list recursion. A
codegraph-kernel/src/ccpp/mod.rs:2141
↓ 4 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/python.rs:371
↓ 4 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/go.rs:317
↓ 4 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/ruby.rs:370
↓ 4 callersMethodextract_name
extractName (tree-sitter.ts:98-192) — scala-reachable branches: the `name` field's raw text (operator glyphs and backticks kept), else the first ident
codegraph-kernel/src/scala.rs:519
↓ 4 callersMethodextract_owned_object_members
extractOwnedObjectMembers: each function member becomes its own node, qualified under the owner (at file scope for one on the global object). Every ot
codegraph-kernel/src/tsjs/extractors.rs:1046
↓ 4 callersFunctionfail
(reason)
scripts/npm-shim.js:279
↓ 4 callersFunctionfailure
()
ui/src/lib/trails.svelte.ts:72
↓ 4 callersFunctionfill
(unit, head = '', tail = '', size = bytes)
scripts/benchmarks/large-files/other-languages.mjs:34
↓ 4 callersFunctionfind
(src: &str, from: usize, pat: &str)
codegraph-kernel/src/ccpp/brace_scopes.rs:106
↓ 4 callersMethodfindAllSymbols
* Find ALL symbols matching a name. Used by callers/callees/impact to aggregate * results across all matching symbols (e.g., multiple classes with
src/mcp/tools.ts:9172
↓ 4 callersFunctionfindCodeGraphServer
* Where `mcp_servers.codegraph` is written, in any form: a block or a * one-line value under a block `mcp_servers`, at whatever indent its * sibling
src/installer/targets/hermes.ts:301
↓ 4 callersFunctionfindDecorators
* Find every `@Name(...)` decorator whose name is in `names`. Uses a * string-aware balanced-paren reader for the argument list so type thunks * lik
src/resolution/frameworks/nestjs.ts:529
↓ 4 callersFunctionfindNestedGitRepos
* Find git repositories nested under `absDir` (inclusive), shallow bounded BFS. * Stops descending at each repo root found — contents belong to that
src/extraction/index.ts:959
↓ 4 callersMethodfindNodesByNameSubstring
* Find nodes whose name contains a substring (LIKE-based). * Useful for CamelCase-part matching where FTS fails because * e.g. "TransportSearchA
src/db/queries.ts:2526
↓ 4 callersFunctionfirstBracketFrom
The index of the first bracket at or after offset `from`.
src/resolution/dart-local-scope.ts:509
↓ 4 callersFunctionfmt
(r)
scripts/agent-eval/probe-sweep.mjs:97
↓ 4 callersMethodgeneratedPredicateFor
* A reusable `(path) => boolean` over a bounded candidate list, unioning the * indexed flag with the path convention. This is the shape every ranki
src/db/queries.ts:4208
↓ 4 callersFunctiongetAllFrameworkResolvers
()
src/resolution/frameworks/index.ts:113
↓ 4 callersMethodgetCallEdges
* The calls edges into a node, out of one, or into any node of a name, from * `callers`, with what they reached and how sure that was. Synthesized
src/db/parameter-flow-queries.ts:179
↓ 4 callersMethodgetCallSites
* The direct callers (or callees) of a symbol, each with every edge that * joins them: one row per neighbour, in the order {@link getCallers} and
src/graph/traversal.ts:424
↓ 4 callersMethodgetCrossFileIncomingEdgesWithTarget
* Cross-file edges whose TARGET is a node in `filePath` and whose SOURCE is a * node in a *different* file, paired with the target node's (name, ki
src/db/queries.ts:3802
↓ 4 callersMethodgetDominantFile
* Find the file that holds the densest concentration of the project's * internal call graph — the "core" file. Used by context-builder to * boos
src/db/queries.ts:1409
↓ 4 callersMethodgetFailedReferencesThrough
* The row ids of the failed references of `filePath` that import one of * `modules` or are written through one of `names` (see {@link THROUGH_NAMES
src/db/queries.ts:3944
↓ 4 callersMethodgetFileDependents
* Get dependents of a file * * Returns all files that import from this file. * * @param filePath - Path to the file * @param opts - `sk
src/graph/queries.ts:136
↓ 4 callersFunctiongetFileExportIndex
(filePath: string, context: ResolutionContext)
src/resolution/import-resolver.ts:305
↓ 4 callersMethodgetFilePathFromNodeId
* Get file path from node ID
src/resolution/index.ts:4150
↓ 4 callersMethodgetGoPackageDir
* The project-relative directory (`/`-separated, `.` for the root) of * the Go package an import path names, when it is a package of one of the
src/resolution/types.ts:276
↓ 4 callersMethodgetImpactRadius
* Calculate the impact radius of a node * * Returns all nodes that could be affected by changes to this node. * * @param nodeId - ID of th
src/graph/traversal.ts:606
↓ 4 callersMethodgetNodeAndEdgeCount
* Lightweight (nodes, edges) count snapshot. Used around an index/sync * run to compute true additions across extraction + resolution + * synthe
src/db/queries.ts:5907
↓ 4 callersMethodgetNodesByName
(name: string)
src/graph/symbol-lookup.ts:196
↓ 4 callersMethodgetResolutionEdgesThrough
* Resolution edges out of the nodes of `filePath` whose reference was * written through one of `names` (see {@link THROUGH_NAMES}), with the source
src/db/queries.ts:3832
↓ 4 callersFunctiongetStaticTools
()
src/mcp/tools.ts:2041
↓ 4 callersMethodgetTools
* Get tool definitions with dynamic descriptions based on project size. * The codegraph_explore tool description includes a budget recommendation
src/mcp/tools.ts:2400
↓ 4 callersMethodgetUnresolvedReferencesByFiles
* Get unresolved references scoped to specific file paths. * Uses the idx_unresolved_file_path index for efficient lookup.
src/db/queries.ts:4833
↓ 4 callersMethodgetUnresolvedReferencesFrom
* References recorded against a symbol that never resolved to a node — the * calls and type mentions that leave the index (a third-party package, a
src/db/queries.ts:3662
↓ 4 callersFunctiongitCommonDir
(dir: string)
src/sync/worktree.ts:58
↓ 4 callersFunctiongitWorktreeRoot
(dir: string)
src/sync/worktree.ts:32
↓ 4 callersFunctiongoSignatureArity
(signature: string | undefined)
src/resolution/callback-synthesizer.ts:921
↓ 4 callersMethodgrowthBytes
Un-backfilled growth estimate: bytes the WAL has grown past the last full backfill.
src/db/wal-valve.ts:154
← previousnext →801–900 of 13,347, ranked by callers