Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
13,347 in github.com/colbymchenry/codegraph
⨍
Functions
13,347
◇
Types & classes
1,990
↳
Endpoints
1
↓ 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:573
↓ 5 callers
Function
allocateExploreBudget
( candidates: readonly ExploreAllocationCandidate[], budget: ExploreOutputBudget, maxFiles: number, )
src/mcp/tools.ts:808
↓ 5 callers
Function
ancestorsOf
* A class and its ancestors the project declares, nearest first. A helper's * are the helper it descends from, then the type it helps and that type's
src/resolution/pascal-scope.ts:1920
↓ 5 callers
Method
apply
(request: URLRequest)
__tests__/fixtures/dense-header-ts/src/core/types.ts:33
↓ 5 callers
Function
around
(start: number, end: number)
src/resolution/frameworks/react.ts:1362
↓ 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:776
↓ 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
Function
cleanup
()
src/mcp/proxy.ts:660
↓ 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:504
↓ 5 callers
Function
configPath
()
src/installer/targets/hermes.ts:121
↓ 5 callers
Function
configPath
(loc: Location)
src/installer/targets/opencode.ts:102
↓ 5 callers
Function
connectWithHello
( socketPath: string, expectedVersion: string = CodeGraphPackageVersion, helloTimeoutMs: number = DAEMON
src/mcp/proxy.ts:157
↓ 5 callers
Function
consume_block_comment_body
Stops just past the matching "*/" (or at EOF).
codegraph-kernel/grammars/scala/scanner.c:413
↓ 5 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/python.rs:275
↓ 5 callers
Function
currentScope
(ctx: ExtractorContext)
src/extraction/languages/cobol.ts:61
↓ 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
declaredSupertypes
The supertypes a Swift type node's own declaration names: `View`, `Sendable` for `struct HomeView: View, Sendable {`.
src/resolution/swift-type-visibility.ts:152
↓ 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:4922
↓ 5 callers
Function
deregisterDaemon
(root: string, pid?: number)
src/mcp/daemon-registry.ts:108
↓ 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:730
↓ 5 callers
Function
el
(tag, className, text)
telemetry-dashboard/public/app.js:111
↓ 5 callers
Function
embedClosure
(id: string)
src/resolution/callback-synthesizer.ts:1146
↓ 5 callers
Method
errorResult
(message: string)
src/mcp/tools.ts:9352
↓ 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:3361
↓ 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:539
↓ 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:8134
↓ 5 callers
Function
extractLocalExportAliases
(content: string)
src/resolution/alias-binding.ts:115
↓ 5 callers
Function
extractReExports
(content: string, language: Language)
src/resolution/import-resolver.ts:2667
↓ 5 callers
Function
extractSearchTerms
(query: string, options?: { stems?: boolean })
src/search/query-utils.ts:246
↓ 5 callers
Method
extract_decorators_for
(&mut self, decl: Node<'t>, decorated_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2053
↓ 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:760
↓ 5 callers
Method
extract_type_annotations
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:2193
↓ 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
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
↓ 5 callers
Method
getCallees
* Find all functions/methods called by a function * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to tra
src/graph/traversal.ts:366
↓ 5 callers
Method
getFanIn
* Fan-in (incoming edge count) for many nodes at once — the "hub" signal, * without a query per node. See {@link QueryBuilder.countIncomingEdges}.
src/index.ts:2484
↓ 5 callers
Method
getImportsInto
* The `imports` edges into the node `targetId` from files other than * `exceptFile`: each importing file, its language, and the module specifier
src/db/queries.ts:3978
↓ 5 callers
Method
getLanguageFromNodeId
* Get language from node ID
src/resolution/index.ts:4158
↓ 5 callers
Method
getLineNumber
* Get the line number for a character index
src/extraction/liquid-extractor.ts:519
↓ 5 callers
Method
getLineStart
* Get the character index of the start of a line
src/extraction/liquid-extractor.ts:536
↓ 5 callers
Method
getNodesByFile
* Get all nodes in a file
src/db/queries.ts:1333
↓ 5 callers
Method
getNodesByFiles
* Get all nodes in several files at once — one chunked `IN` query rather than * one {@link getNodesByFile} per file (#1975).
src/db/queries.ts:1372
↓ 5 callers
Method
getNodesInFiles
* Get all nodes in several files, in one batched query.
src/index.ts:2707
↓ 5 callers
Function
getRegistryDir
()
src/mcp/daemon-registry.ts:60
↓ 5 callers
Method
getWalAutocheckpoint
Current `wal_autocheckpoint` interval in pages (0 = disabled).
src/db/index.ts:714
↓ 5 callers
Function
goMethodKey
* What a Go method matches an interface's method by: its name, and for an * unexported name the package that declares it as well. Go makes the * `re
src/resolution/callback-synthesizer.ts:830
↓ 5 callers
Function
hasGrammarLoadFailure
(errors: readonly ExtractionError[] | undefined)
src/extraction/grammars.ts:1132
↓ 5 callers
Function
hidden
(binding: string | null, at: { owner: Node; line: number; column: number })
src/resolution/tauri-synthesizer.ts:1021
↓ 5 callers
Function
homePatchPath
()
src/installer/targets/dsh.ts:67
↓ 5 callers
Function
inReferencingFolder
( fromFile: string, candidates: readonly T[], pathOf: (candidate: T) => string )
src/resolution/frameworks/component-folder.ts:17
↓ 5 callers
Function
includedFile
The indexed file an `#include` names, the way its include edge resolves it.
src/resolution/cpp-includers.ts:68
↓ 5 callers
Function
installMainThreadWatchdog
(options: WatchdogOptions = {})
src/mcp/liveness-watchdog.ts:312
↓ 5 callers
Method
isActive
* Whether the watcher is currently active.
src/sync/watcher.ts:1004
↓ 5 callers
Function
isBareCall
* Whether a Pascal call named by a bare name is written bare: its expression * starts with the name (`Reset(F)`). The last call of a chain is named b
src/resolution/pascal-scope.ts:148
↓ 5 callers
Function
isCFamily
C and C++ declare the names a C++ file can see (a header may be either).
src/resolution/cpp-type-aliases.ts:174
↓ 5 callers
Function
isExternalImport
( importPath: string, language: Language, context?: ResolutionContext, options: { aliasPrefixes?: bool
src/resolution/import-resolver.ts:1299
↓ 5 callers
Function
isIdentChar
(c: string | undefined)
src/resolution/rust-scopes.ts:101
↓ 5 callers
Method
isIndexing
* Check if an indexing operation is currently in progress
src/index.ts:1979
↓ 5 callers
Function
isPascalCase
* Check if string is PascalCase
src/resolution/frameworks/react.ts:2396
↓ 5 callers
Function
isSpace
(c: number)
src/resolution/jsx-code.ts:58
↓ 5 callers
Function
isSwiftExtension
(node: Node, context: ResolutionContext)
src/resolution/swift-type-visibility.ts:63
↓ 5 callers
Function
isTrivia
A line that holds no value: blank, a comment, or the `---` that opens a document.
src/installer/targets/dsh.ts:118
↓ 5 callers
Function
kernelRoutes
(language: Language)
src/extraction/kernel/index.ts:183
↓ 5 callers
Function
lazyRouteComponent
The component a lazy route module renders: its default export, else its `Component` export.
src/resolution/frameworks/react.ts:487
↓ 5 callers
Function
legacyHelper
Legacy prototype-style helper.
__tests__/fixtures/kernel-parity/torture.js:9
↓ 5 callers
Function
lexicalPathWithinRoot
(projectRoot: string, filePath: string)
src/utils.ts:123
↓ 5 callers
Function
libraryOf
The library file `file` belongs to: itself, or for a part the library its `part of` chain ends at; null when unknown.
src/resolution/dart-libraries.ts:584
↓ 5 callers
Function
lineOf
Line (1-based) of the first line containing `needle`.
__tests__/branch-guards.test.ts:16
↓ 5 callers
Function
linesOf
The source lines of a file, through the resolver's line cache when it has one.
src/resolution/swift-type-visibility.ts:269
↓ 5 callers
Function
lookupSegments
* What a written name declares, looked up from `scopes` (innermost first), and * how many of its segments that took: a class's member is looked up in
src/resolution/cpp-type-aliases.ts:877
↓ 5 callers
Function
lowerWordAt
The word starting at `i`, lowercased, or '' when no word starts there.
src/extraction/languages/pascal-preparse.ts:356
↓ 5 callers
Method
mappings
Its import mappings.
src/resolution/module-importers.ts:80
↓ 5 callers
Method
markReferencesFailed
* Mark refs a completed resolution pass could not resolve as status='failed' * instead of deleting them (#1240). Failed rows are invisible to the p
src/db/queries.ts:4961
↓ 5 callers
Function
matchingBracket
Offset of the bracket matching the one at `open`, in masked text; -1 when unbalanced.
src/resolution/go-func-field-synthesizer.ts:153
↓ 5 callers
Method
mb
(n: number)
src/db/wal-valve.ts:149
↓ 5 callers
Function
mcpConfigPath
()
src/installer/targets/windsurf.ts:32
↓ 5 callers
Function
mcpConfigPath
()
src/installer/targets/copilot-cli.ts:55
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/pi.ts:41
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/kiro.ts:48
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/claude.ts:75
← previous
next →
601–700 of 13,347, ranked by callers