MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions12,468 in github.com/colbymchenry/codegraph

↓ 6 callersFunctionrecordSpawns
(fixture: string)
__tests__/daemon-candidates.ts:21
↓ 6 callersMethodrecordUsage
Recheck shared consent, then increment in memory; no network or writes.
src/telemetry/index.ts:295
↓ 6 callersFunctionremember
Store `value` under `key` in a memo that drops its oldest entry past `max`, so a whole-repo walk stays bounded.
src/resolution/go-func-field-synthesizer.ts:260
↓ 6 callersFunctionremoveFileUnlessLinked
(filePath: string, emptied: string)
src/installer/targets/shared.ts:197
↓ 6 callersFunctionremoveMarkedSection
( filePath: string, startMarker: string, endMarker: string, )
src/installer/targets/shared.ts:486
↓ 6 callersFunctionremoveSpawnLog
(fixture: string)
__tests__/daemon-candidates.ts:62
↓ 6 callersMethodreopenFailedReferences
* Put failed refs back in the pending set, for the next resolution pass — * the sync's orphan sweep — to try again. Returns the number re-opened.
src/db/queries.ts:5197
↓ 6 callersMethodresolveAndPersistBatched
* Resolve and persist in batches to keep memory bounded. * Processes unresolved references in chunks, persisting edges and cleaning * up resolve
src/resolution/index.ts:2681
↓ 6 callersMethodresolve_body
resolveBody (kotlin.ts:219): first ERROR child whose child(0) is `{` (fun-interface parent body — unreachable post-defer, kept for contract), else fir
codegraph-kernel/src/kotlin.rs:386
↓ 6 callersFunctionrowsOf
(result: D1Result | undefined)
telemetry-dashboard/src/api.ts:64
↓ 6 callersMethodrunBatched
* Run `rows` through a multi-row `INSERT` built as `head + (tuple,)*n`, * decomposed greedily into the cached batch sizes. Preserves row order.
src/db/queries.ts:554
↓ 6 callersFunctionscanAmbientModules
(source: string)
src/resolution/ambient-modules.ts:85
↓ 6 callersFunctionscanDirectoryAsync
( rootDir: string, onProgress?: (current: number, file: string) => void, stats?: ScanSkipStats, /** Gi
src/extraction/index.ts:1909
↓ 6 callersMethodscheduleSync
* Schedule a normal debounced sync after a source edit.
src/sync/watcher.ts:1033
↓ 6 callersMethodsend
(response: JsonRpcResponse)
src/mcp/transport.ts:78
↓ 6 callersMethodsettle
(job: ParseJob, result?: ExtractionResult, err?: Error)
src/extraction/parse-pool.ts:552
↓ 6 callersMethodsettle
(job: Job, result: ToolResult)
src/mcp/query-pool.ts:453
↓ 6 callersMethodsite
(place: Place)
src/resolution/cpp-template-instantiations.ts:723
↓ 6 callersFunctionskipTrivia
The index of the first character from `i` that is neither whitespace nor in a comment.
src/extraction/languages/pascal-preparse.ts:179
↓ 6 callersFunctionslice_utf16
JS `String.prototype.slice(0, n)` in UTF-16 units, without splitting a surrogate pair (when the cut would split one, we stop one code unit short — a l
codegraph-kernel/src/textutil.rs:163
↓ 6 callersMethodspawnOne
()
src/extraction/parse-pool.ts:343
↓ 6 callersFunctionsplitArgs
The top-level items of the parenthesized list opening at `open`, or null when it does not close.
src/resolution/vbnet-receivers.ts:125
↓ 6 callersFunctionsplitIdentifierSegments
(name: string)
src/search/identifier-segments.ts:30
↓ 6 callersFunctionsplitTopLevel
Split `text` on commas outside `<>`, `()`, `[]` and `{}`.
src/resolution/cpp-type-aliases.ts:222
↓ 6 callersFunctionstatementEnd
* Where the statement or declarator from `from` ends: at a `;`, a closing * bracket, a `,` when `comma`, or at a line break neither line continues *
src/resolution/frameworks/react.ts:1786
↓ 6 callersFunctionstripCppTemplateArguments
(text: string)
src/resolution/cpp-type-aliases.ts:75
↓ 6 callersMethodsupportsLocation
* Whether this target supports the given install location. * * Some agents (GitHub Copilot CLI, the Copilot JetBrains plugin) * have no proje
src/installer/targets/types.ts:95
↓ 6 callersFunctiontextEl
(o: TextOptions, content: string)
ui/src/lib/export-svg.ts:159
↓ 6 callersFunctiontoQueryString
(params: Record<string, string | number | undefined>)
__tests__/fixtures/factory-closure-ts/src/lib/http.ts:11
↓ 6 callersFunctiontokenBefore
The word right before offset `at` (skipping blanks), or else the offset of the character there (-1 at the start).
src/resolution/dart-local-scope.ts:424
↓ 6 callersFunctiontomlConfigPath
(loc: Location)
src/installer/targets/codex.ts:63
↓ 6 callersFunctiontopLevelItems
The same, an empty entry kept for each hole: `[, second]` is `['', 'second']`.
src/resolution/frameworks/react.ts:1490
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/java.rs:268
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/swift.rs:365
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/ruby.rs:239
↓ 6 callersMethodtop_row
(&self)
codegraph-kernel/src/scala.rs:262
↓ 6 callersMethodtrimProjects
* Never evict a graph while a tool call or its timed-out reconcile uses it. * Evicts over the LRU bound, on close, and once idle past the timeout
src/mcp/tools.ts:2626
↓ 6 callersFunctiontypesNamedAt
* The project types a type name written at a site means, as VB.NET looks it * up: one its written qualifier names, nested in or declared in the names
src/resolution/vbnet-receivers.ts:812
↓ 6 callersFunctionutcDay
(atMs: number)
telemetry-dashboard/src/api.ts:71
↓ 6 callersMethodvalidateString
* Validate that a value is a non-empty string within length bounds. * * The `maxLength` cap protects against MCP clients that ship huge * pay
src/mcp/tools.ts:2737
↓ 6 callersFunctionvalueOf
What expression `text` evaluates to in a loader, or null when it is not one this reads.
src/resolution/frameworks/react.ts:1810
↓ 6 callersMethodvisibility_of
getVisibility: whole-text substring matching over `modifiers` children; default INTERNAL. `open` → internal, `fileprivate` → private (via the 'private
codegraph-kernel/src/swift.rs:534
↓ 6 callersMethodvisitFunctionBody
Visit a function body to extract calls
src/extraction/tree-sitter-types.ts:39
↓ 6 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/kotlin.rs:840
↓ 6 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/java.rs:501
↓ 6 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:515
↓ 6 callersMethodwithLock
* Execute a function while holding the lock
src/utils.ts:714
↓ 6 callersFunctionwriterLockHeldMessage
( existing: WriterLockInfo | null, pidPath: string, )
src/mcp/writer-lock.ts:231
↓ 5 callersFunctionKW
(text: 'WHEN' | 'AND' | 'OR' | 'NOT')
ui/src/lib/conditions.ts:72
↓ 5 callersFunctionR
(path: string)
__tests__/ui-screens-model.test.ts:70
↓ 5 callersFunction__setFsWatchForTests
(fn: WatchFn | null)
src/sync/watcher.ts:172
↓ 5 callersMethodacquire
* The open graph, opening (or reopening) it if needed. * * @throws {ApiError} `no-index` when the project has no index, * `index-unusable`
src/ui-server/api/session.ts:134
↓ 5 callersFunctionaddDays
(day: string, delta: number)
telemetry-dashboard/src/api.ts:81
↓ 5 callersFunctionaddRouteTo
(table: RouteTable, path: string, node: Node)
src/resolution/frameworks/expo-router.ts:572
↓ 5 callersFunctionallocateExploreBudget
( candidates: readonly ExploreAllocationCandidate[], budget: ExploreOutputBudget, maxFiles: number, )
src/mcp/tools.ts:802
↓ 5 callersMethodanswerResult
(cg: CodeGraph, text: string, paths: Iterable<string>)
src/mcp/tools.ts:2908
↓ 5 callersMethodapply
(request: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:33
↓ 5 callersMethodbackpressure
* Writer-side backstop, called at a between-transactions boundary. Returns * null (no wait) while growth is under the hard cap; past it, returns a
src/db/wal-valve.ts:196
↓ 5 callersMethodbeginBulkEdgeLoad
* Enter bulk-edge-load mode: drop the non-unique edge indexes so the mass * INSERT OR IGNORE stream pays one B-tree (the identity index) instead of
src/db/index.ts:420
↓ 5 callersFunctionblankCppSpans
* Replace each [start, end) span of `source` with spaces, keeping line * endings. Given the mask the spans were found on, blank it the same way and
src/extraction/languages/c-cpp.ts:775
↓ 5 callersFunctionbuildDeadCodeReport
(cg: CodeGraph, query: DeadCodeQuery = {})
src/graph/dead-code.ts:458
↓ 5 callersFunctionbuildMapLayout
( payload: Pick<WireMapPayload, 'modules' | 'links'>, options: MapLayoutOptions )
ui/src/lib/map-model.ts:301
↓ 5 callersFunctionbuildRoutes
(cg: CodeGraph, query: URLSearchParams)
src/ui-server/api/routes.ts:144
↓ 5 callersMethodclose
()
src/db/sqlite-adapter.ts:53
↓ 5 callersFunctioncodeGraphDirName
()
src/directory.ts:46
↓ 5 callersFunctioncollect
Collect candidate files.
scripts/kernel-parity.mjs:74
↓ 5 callersFunctioncolumnAt
(text: string, index: number)
src/resolution/tauri-synthesizer.ts:502
↓ 5 callersFunctionconfigPath
()
src/installer/targets/hermes.ts:121
↓ 5 callersFunctionconfigPath
(loc: Location)
src/installer/targets/opencode.ts:101
↓ 5 callersFunctionconsume_block_comment_body
Stops just past the matching "*/" (or at EOF).
codegraph-kernel/grammars/scala/scanner.c:413
↓ 5 callersFunctioncreateResolver
(projectRoot: string, queries: QueryBuilder)
src/resolution/index.ts:4839
↓ 5 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:277
↓ 5 callersFunctioncurrentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 5 callersFunctiondartPrevNamed
* The named sibling before `node`, past any comments. A Dart member chain is * an identifier followed by sibling selectors, and the grammar keeps a c
src/extraction/languages/dart.ts:152
↓ 5 callersFunctiondeclarationText
The text of `node`'s declaration, cut to its columns when they fit the lines.
src/resolution/cpp-type-aliases.ts:205
↓ 5 callersFunctiondeclarationText
(node: Node, context: ResolutionContext)
src/resolution/frameworks/react.ts:833
↓ 5 callersFunctiondeclaredDependencies
(context: ResolutionContext)
src/resolution/frameworks/package-deps.ts:48
↓ 5 callersFunctiondecodeWriterLockInfo
(raw: string)
src/mcp/writer-lock.ts:57
↓ 5 callersMethoddegrade
* Disable live watching after a terminal runtime failure * (watch-resource exhaustion, lock contention past the retry budget, or a * persistent
src/sync/watcher.ts:866
↓ 5 callersMethoddeleteReferencesByRowIds
* Delete unresolved-ref rows by row id — the precise cleanup for refs a * resolution pass actually processed. The key-tuple variant above also *
src/db/queries.ts:4811
↓ 5 callersMethoddocstring_of
docstringFor (tree-sitter.ts) — the preceding comment run, looked up from the declaration wrapper when there is one, past annotations.
codegraph-kernel/src/dart.rs:657
↓ 5 callersFunctionel
(tag, className, text)
telemetry-dashboard/public/app.js:111
↓ 5 callersFunctionembedClosure
(id: string)
src/resolution/callback-synthesizer.ts:1207
↓ 5 callersMethoderrorResult
(message: string)
src/mcp/tools.ts:9179
↓ 5 callersMethodexecuteReadTool
* Run a single read tool to completion and return its raw {@link ToolResult}, * classifying expected failures the same way {@link execute}'s catch
src/mcp/tools.ts:3301
↓ 5 callersFunctionexploreProjectKey
(projectRoot: string)
src/mcp/explore-session-state.ts:151
↓ 5 callersFunctionexportedComponent
( file: string, name: string, context: ResolutionContext, visited: ReadonlySet<string> = new Set(),
src/resolution/frameworks/react.ts:538
↓ 5 callersFunctionextract
(file_path: &str, source: &str)
codegraph-kernel/src/go.rs:107
↓ 5 callersMethodextractInheritance
* Extract inheritance relationships
src/extraction/tree-sitter.ts:7890
↓ 5 callersFunctionextractReExports
(content: string, language: Language)
src/resolution/import-resolver.ts:2578
↓ 5 callersFunctionextractSearchTerms
(query: string, options?: { stems?: boolean })
src/search/query-utils.ts:246
↓ 5 callersMethodextractTypeAnnotations
* Extract type references from type annotations on a function/method/field node. * Creates 'references' edges for parameter types, return types, an
src/extraction/tree-sitter.ts:8412
↓ 5 callersMethodextract_name
extractName (tree-sitter.ts:90-192) — resolveName (ctor names) → name field → the method_signature inner unwrap → identifier-ish child → `<anonymous>`
codegraph-kernel/src/dart.rs:687
↓ 5 callersFunctionfail
(error: string, status = 400)
telemetry-dashboard/src/api.ts:57
↓ 5 callersFunctionfieldFilterSql
* WHERE terms (each starting with ` AND `) that keep every `nodes` row the * filters could pass, so that SQLite drops most of the others before they
src/db/queries.ts:348
↓ 5 callersFunctionfindAllSymbols
(cg: CodeGraph, symbol: string)
src/graph/named-symbol-flow.ts:53
↓ 5 callersFunctionfindTop
A column-0 key: its line, inline value, and where the next column-0 key starts.
src/installer/targets/hermes.ts:214
↓ 5 callersFunctionfirstNonBlankColumn
(source: string, row: number)
src/graph/branch-guards.ts:918
↓ 5 callersFunctionfirstOf
(result: D1Result | undefined)
telemetry-dashboard/src/api.ts:65
↓ 5 callersFunctionfn
(cg: CodeGraph, name: string)
__tests__/cpp-macro-and-constructor-calls.test.ts:42
← previousnext →501–600 of 12,468, ranked by callers