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
↓ 6 callers
Function
recordSpawns
(fixture: string)
__tests__/daemon-candidates.ts:21
↓ 6 callers
Method
recordUsage
Recheck shared consent, then increment in memory; no network or writes.
src/telemetry/index.ts:295
↓ 6 callers
Function
remember
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 callers
Function
removeFileUnlessLinked
(filePath: string, emptied: string)
src/installer/targets/shared.ts:197
↓ 6 callers
Function
removeMarkedSection
( filePath: string, startMarker: string, endMarker: string, )
src/installer/targets/shared.ts:486
↓ 6 callers
Function
removeSpawnLog
(fixture: string)
__tests__/daemon-candidates.ts:62
↓ 6 callers
Method
reopenFailedReferences
* 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 callers
Method
resolveAndPersistBatched
* 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 callers
Method
resolve_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 callers
Function
rowsOf
(result: D1Result | undefined)
telemetry-dashboard/src/api.ts:64
↓ 6 callers
Method
runBatched
* 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 callers
Function
scanAmbientModules
(source: string)
src/resolution/ambient-modules.ts:85
↓ 6 callers
Function
scanDirectoryAsync
( rootDir: string, onProgress?: (current: number, file: string) => void, stats?: ScanSkipStats, /** Gi
src/extraction/index.ts:1909
↓ 6 callers
Method
scheduleSync
* Schedule a normal debounced sync after a source edit.
src/sync/watcher.ts:1033
↓ 6 callers
Method
send
(response: JsonRpcResponse)
src/mcp/transport.ts:78
↓ 6 callers
Method
settle
(job: ParseJob, result?: ExtractionResult, err?: Error)
src/extraction/parse-pool.ts:552
↓ 6 callers
Method
settle
(job: Job, result: ToolResult)
src/mcp/query-pool.ts:453
↓ 6 callers
Method
site
(place: Place)
src/resolution/cpp-template-instantiations.ts:723
↓ 6 callers
Function
skipTrivia
The index of the first character from `i` that is neither whitespace nor in a comment.
src/extraction/languages/pascal-preparse.ts:179
↓ 6 callers
Function
slice_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 callers
Method
spawnOne
()
src/extraction/parse-pool.ts:343
↓ 6 callers
Function
splitArgs
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 callers
Function
splitIdentifierSegments
(name: string)
src/search/identifier-segments.ts:30
↓ 6 callers
Function
splitTopLevel
Split `text` on commas outside `<>`, `()`, `[]` and `{}`.
src/resolution/cpp-type-aliases.ts:222
↓ 6 callers
Function
statementEnd
* 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 callers
Function
stripCppTemplateArguments
(text: string)
src/resolution/cpp-type-aliases.ts:75
↓ 6 callers
Method
supportsLocation
* 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 callers
Function
textEl
(o: TextOptions, content: string)
ui/src/lib/export-svg.ts:159
↓ 6 callers
Function
toQueryString
(params: Record<string, string | number | undefined>)
__tests__/fixtures/factory-closure-ts/src/lib/http.ts:11
↓ 6 callers
Function
tokenBefore
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 callers
Function
tomlConfigPath
(loc: Location)
src/installer/targets/codex.ts:63
↓ 6 callers
Function
topLevelItems
The same, an empty entry kept for each hole: `[, second]` is `['', 'second']`.
src/resolution/frameworks/react.ts:1490
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/java.rs:268
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/swift.rs:365
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/ruby.rs:239
↓ 6 callers
Method
top_row
(&self)
codegraph-kernel/src/scala.rs:262
↓ 6 callers
Method
trimProjects
* 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 callers
Function
typesNamedAt
* 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 callers
Function
utcDay
(atMs: number)
telemetry-dashboard/src/api.ts:71
↓ 6 callers
Method
validateString
* 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 callers
Function
valueOf
What expression `text` evaluates to in a loader, or null when it is not one this reads.
src/resolution/frameworks/react.ts:1810
↓ 6 callers
Method
visibility_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 callers
Method
visitFunctionBody
Visit a function body to extract calls
src/extraction/tree-sitter-types.ts:39
↓ 6 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/kotlin.rs:840
↓ 6 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/java.rs:501
↓ 6 callers
Method
visit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/csharp.rs:515
↓ 6 callers
Method
withLock
* Execute a function while holding the lock
src/utils.ts:714
↓ 6 callers
Function
writerLockHeldMessage
( existing: WriterLockInfo | null, pidPath: string, )
src/mcp/writer-lock.ts:231
↓ 5 callers
Function
KW
(text: 'WHEN' | 'AND' | 'OR' | 'NOT')
ui/src/lib/conditions.ts:72
↓ 5 callers
Function
R
(path: string)
__tests__/ui-screens-model.test.ts:70
↓ 5 callers
Function
__setFsWatchForTests
(fn: WatchFn | null)
src/sync/watcher.ts:172
↓ 5 callers
Method
acquire
* 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 callers
Function
addDays
(day: string, delta: number)
telemetry-dashboard/src/api.ts:81
↓ 5 callers
Function
addRouteTo
(table: RouteTable, path: string, node: Node)
src/resolution/frameworks/expo-router.ts:572
↓ 5 callers
Function
allocateExploreBudget
( candidates: readonly ExploreAllocationCandidate[], budget: ExploreOutputBudget, maxFiles: number, )
src/mcp/tools.ts:802
↓ 5 callers
Method
answerResult
(cg: CodeGraph, text: string, paths: Iterable<string>)
src/mcp/tools.ts:2908
↓ 5 callers
Method
apply
(request: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:33
↓ 5 callers
Method
backpressure
* 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 callers
Method
beginBulkEdgeLoad
* 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 callers
Function
blankCppSpans
* 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 callers
Function
buildDeadCodeReport
(cg: CodeGraph, query: DeadCodeQuery = {})
src/graph/dead-code.ts:458
↓ 5 callers
Function
buildMapLayout
( payload: Pick<WireMapPayload, 'modules' | 'links'>, options: MapLayoutOptions )
ui/src/lib/map-model.ts:301
↓ 5 callers
Function
buildRoutes
(cg: CodeGraph, query: URLSearchParams)
src/ui-server/api/routes.ts:144
↓ 5 callers
Method
close
()
src/db/sqlite-adapter.ts:53
↓ 5 callers
Function
codeGraphDirName
()
src/directory.ts:46
↓ 5 callers
Function
collect
Collect candidate files.
scripts/kernel-parity.mjs:74
↓ 5 callers
Function
columnAt
(text: string, index: number)
src/resolution/tauri-synthesizer.ts:502
↓ 5 callers
Function
configPath
()
src/installer/targets/hermes.ts:121
↓ 5 callers
Function
configPath
(loc: Location)
src/installer/targets/opencode.ts:101
↓ 5 callers
Function
consume_block_comment_body
Stops just past the matching "*/" (or at EOF).
codegraph-kernel/grammars/scala/scanner.c:413
↓ 5 callers
Function
createResolver
(projectRoot: string, queries: QueryBuilder)
src/resolution/index.ts:4839
↓ 5 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:277
↓ 5 callers
Function
currentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 5 callers
Function
dartPrevNamed
* 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 callers
Function
declarationText
The text of `node`'s declaration, cut to its columns when they fit the lines.
src/resolution/cpp-type-aliases.ts:205
↓ 5 callers
Function
declarationText
(node: Node, context: ResolutionContext)
src/resolution/frameworks/react.ts:833
↓ 5 callers
Function
declaredDependencies
(context: ResolutionContext)
src/resolution/frameworks/package-deps.ts:48
↓ 5 callers
Function
decodeWriterLockInfo
(raw: string)
src/mcp/writer-lock.ts:57
↓ 5 callers
Method
degrade
* 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 callers
Method
deleteReferencesByRowIds
* 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 callers
Method
docstring_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 callers
Function
el
(tag, className, text)
telemetry-dashboard/public/app.js:111
↓ 5 callers
Function
embedClosure
(id: string)
src/resolution/callback-synthesizer.ts:1207
↓ 5 callers
Method
errorResult
(message: string)
src/mcp/tools.ts:9179
↓ 5 callers
Method
executeReadTool
* 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 callers
Function
exploreProjectKey
(projectRoot: string)
src/mcp/explore-session-state.ts:151
↓ 5 callers
Function
exportedComponent
( file: string, name: string, context: ResolutionContext, visited: ReadonlySet<string> = new Set(),
src/resolution/frameworks/react.ts:538
↓ 5 callers
Function
extract
(file_path: &str, source: &str)
codegraph-kernel/src/go.rs:107
↓ 5 callers
Method
extractInheritance
* Extract inheritance relationships
src/extraction/tree-sitter.ts:7890
↓ 5 callers
Function
extractReExports
(content: string, language: Language)
src/resolution/import-resolver.ts:2578
↓ 5 callers
Function
extractSearchTerms
(query: string, options?: { stems?: boolean })
src/search/query-utils.ts:246
↓ 5 callers
Method
extractTypeAnnotations
* 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 callers
Method
extract_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 callers
Function
fail
(error: string, status = 400)
telemetry-dashboard/src/api.ts:57
↓ 5 callers
Function
fieldFilterSql
* 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 callers
Function
findAllSymbols
(cg: CodeGraph, symbol: string)
src/graph/named-symbol-flow.ts:53
↓ 5 callers
Function
findTop
A column-0 key: its line, inline value, and where the next column-0 key starts.
src/installer/targets/hermes.ts:214
↓ 5 callers
Function
firstNonBlankColumn
(source: string, row: number)
src/graph/branch-guards.ts:918
↓ 5 callers
Function
firstOf
(result: D1Result | undefined)
telemetry-dashboard/src/api.ts:65
↓ 5 callers
Function
fn
(cg: CodeGraph, name: string)
__tests__/cpp-macro-and-constructor-calls.test.ts:42
← previous
next →
501–600 of 12,468, ranked by callers