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
↓ 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:367
↓ 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:2425
↓ 5 callers
Method
getFileDependents
* Get dependents of a file * * @param filePath - Path to the file * @returns Array of file paths that depend on this file
src/index.ts:3208
↓ 5 callers
Method
getLanguageFromNodeId
* Get language from node ID
src/resolution/index.ts:3866
↓ 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:527
↓ 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:1370
↓ 5 callers
Method
getNodesInFiles
* Get all nodes in several files, in one batched query.
src/index.ts:2629
↓ 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:891
↓ 5 callers
Function
goPackageReaderFor
(cg: { getProjectRoot(): string })
src/graph/go-package.ts:31
↓ 5 callers
Function
hasGrammarLoadFailure
(errors: readonly ExtractionError[] | undefined)
src/extraction/grammars.ts:911
↓ 5 callers
Function
hidden
(binding: string | null, at: { owner: Node; line: number; column: number })
src/resolution/tauri-synthesizer.ts:996
↓ 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
Method
init
* Initialize a new CodeGraph project * * Creates the .CodeGraph directory, database, and configuration. * * @param projectRoot - Path to t
src/index.ts:414
↓ 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
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:1281
↓ 5 callers
Method
isIndexing
* Check if an indexing operation is currently in progress
src/index.ts:1923
↓ 5 callers
Function
isPascalCase
* Check if string is PascalCase
src/resolution/frameworks/react.ts:2374
↓ 5 callers
Function
isProceduralData
* Whether data holds a routine, by its declared type: one written in place * (`FProc: procedure of object`, `F: reference to function: Integer`), a
src/resolution/pascal-scope.ts:1140
↓ 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:62
↓ 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
lazyRouteComponent
The component a lazy route module renders: its default export, else its `Component` export.
src/resolution/frameworks/react.ts:486
↓ 5 callers
Function
legacyHelper
Legacy prototype-style helper.
__tests__/fixtures/kernel-parity/torture.js:9
↓ 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:203
↓ 5 callers
Function
loadParsedConfig
* Load the parsed `codegraph.json` for a project, mtime-cached. A missing or * malformed file yields the zero-config default. One `stat` (and at most
src/project-config.ts:314
↓ 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:351
↓ 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:4850
↓ 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
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/droid.ts:28
↓ 5 callers
Function
mcpJsonPath
()
src/installer/targets/copilot-jetbrains.ts:81
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/kimi.ts:38
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/copilot-vscode.ts:80
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/cursor.ts:57
↓ 5 callers
Function
mcpJsonPath
(loc: Location)
src/installer/targets/bob.ts:30
↓ 5 callers
Function
memberOn
* A method — or, `withValues`, a field or property; or what `fits` — named * `name` on one of `owners` (the type `typed` names) or a project type the
src/resolution/vbnet-receivers.ts:1130
↓ 5 callers
Function
moduleTail
(modulePath: string)
src/db/reference-tail.ts:103
↓ 5 callers
Function
namespaceBlocks
(file: string, context: ResolutionContext)
src/resolution/ambient-modules.ts:626
↓ 5 callers
Function
node
(qualifiedName: string, file: string)
__tests__/cpp-base-class-lookup.test.ts:371
↓ 5 callers
Function
normalizeVersion
(v: string)
src/upgrade/index.ts:273
↓ 5 callers
Function
notFound
(message: string, hint?: string)
src/ui-server/api/respond.ts:58
↓ 5 callers
Function
notify
()
__tests__/fixtures/factory-closure-ts/src/stores/dashboard-store.ts:342
↓ 5 callers
Function
number
(n)
telemetry-dashboard/public/theme.js:89
↓ 5 callers
Function
objectEntries
An object literal's own properties, each name to its value's text — shorthand and methods included — and its spreads.
src/resolution/frameworks/react.ts:1918
↓ 5 callers
Function
object_key_name
objectKeyName (tree-sitter.ts): strip ONE leading and ONE trailing quote character (`'`, `"`, or backtick).
codegraph-kernel/src/textutil.rs:184
↓ 5 callers
Function
on_small_stack
(f: impl FnOnce() -> T + Send + 'static)
codegraph-kernel/src/stack.rs:192
↓ 5 callers
Function
parseSemver
(version: string)
src/upgrade/index.ts:236
↓ 5 callers
Function
pathFor
* Path math keyed on the TARGET platform (not the host) — same convention as * `detectInstallMethod`, so the planner is deterministic when unit-teste
src/upgrade/remove-binary.ts:103
↓ 5 callers
Function
pickedExport
* The component a lazy route's loader picks from the module `spec` loads: the * export named `name`, through barrels. `reads` collects the files it r
src/resolution/frameworks/react.ts:504
↓ 5 callers
Function
posix
(p: string)
src/ui-server/api/steps.ts:1752
↓ 5 callers
Function
prev_named
dartPrevNamed (dart.ts) — the named sibling before `node`, past comments: `tester //` + newline + `.state(…)` puts the comment, not `tester`, right be
codegraph-kernel/src/dart.rs:142
↓ 5 callers
Method
proceed
* Run the request through the remaining interceptors and, once they are * exhausted, hand it to the transport. This is the method the flow question
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:50
↓ 5 callers
Function
projectInfo
A file's project's root namespace (`<RootNamespace>`, else the project's name) and project-wide imports, lowercased.
src/resolution/vbnet-receivers.ts:653
↓ 5 callers
Function
pushCppRunTokens
Add a span for each macro of `run` (found at `start`), leaving what lies between them.
src/extraction/languages/c-cpp.ts:765
↓ 5 callers
Function
quotedEnd
Past the string or character literal whose quote is at `i`.
src/extraction/languages/cpp-macro-methods.ts:197
↓ 5 callers
Method
readFilteredPage
* One page of the rows `sql` returns that pass `filters`: up to `limit` of * them, after skipping the first `offset` that pass, so a source's limit
src/db/queries.ts:2024
↓ 5 callers
Function
read_word
Reads one identifier-like word into `buf`. Returns -1 when the word cannot be an ASCII keyword. The whole word is always consumed, so a failed keyword
codegraph-kernel/grammars/scala/scanner.c:451
↓ 5 callers
Function
rect
( x: number, y: number, w: number, h: number, attrs: { fill?: string; fillOpacity?: number;
ui/src/lib/export-svg.ts:168
↓ 5 callers
Function
ref
(name: string, file = 'src/a.tsx', language: WireNodeRef['language'] = 'tsx')
__tests__/ui-steps-model.test.ts:11
↓ 5 callers
Method
rememberNode
* Hands the resolver a node a resolution found by other means, so the gates * after it don't fetch it again by id. Optional for external/test conte
src/resolution/types.ts:176
↓ 5 callers
Function
res
(id, chars)
scripts/agent-eval/parse-run.mjs:970
↓ 5 callers
Function
resolveDartUri
The project files a URI written in `from` names: none for `dart:` and other schemes, or a package outside the project.
src/resolution/dart-libraries.ts:517
↓ 5 callers
Function
resolveWalValveMb
(envVal: string | undefined, dbSizeBytes?: number)
src/db/wal-valve.ts:93
↓ 5 callers
Function
routeRoots
(cg: CodeGraph, routes: readonly Node[])
src/ui-server/api/route-roots.ts:73
↓ 5 callers
Function
run_guarded
Run one extraction under the guard. A walk that tripped the guard returns a `defer:` error — the TS side's routine "take the wasm path" signal — regar
codegraph-kernel/src/stack.rs:171
↓ 5 callers
Function
scanned
* The `declare module` blocks of the project's declaration files. Only those * are read: a module is declared whole in a `.d.ts`, and reading every
src/resolution/ambient-modules.ts:643
↓ 5 callers
Function
scorePathRelevance
( filePath: string, query: string, projectNameTokens?: Set<string>, isDeprioritized?: boolean, )
src/search/query-utils.ts:390
↓ 5 callers
Method
setDefaultCodeGraph
* Update the default CodeGraph instance (e.g. after lazy initialization)
src/mcp/tools.ts:2171
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/claude.ts:96
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/gemini.ts:53
↓ 5 callers
Function
settingsJsonPath
(loc: Location)
src/installer/targets/qwen.ts:46
↓ 5 callers
Function
settingsPath
(loc: Location)
src/installer/targets/qoder.ts:35
↓ 5 callers
Function
settleLosingCandidates
( fixture: string, holder: () => number | null | undefined, timeoutMs = 30_000, )
__tests__/daemon-candidates.ts:44
↓ 5 callers
Function
sited
`t` — and the type arguments written inside it — written at `file:line`.
src/resolution/vbnet-receivers.ts:172
↓ 5 callers
Function
skipSpace
(code: string, at: number)
src/resolution/rust-scopes.ts:193
↓ 5 callers
Function
skipSpace
(safe: string, i: number)
src/resolution/frameworks/react.ts:2366
↓ 5 callers
Method
source
(file: string)
src/resolution/cpp-template-instantiations.ts:638
↓ 5 callers
Function
splitRouteName
(url: string)
src/ui-server/api/routes.ts:78
↓ 5 callers
Function
splitTopLevel
Split `body` on `sep` at brace/paren/bracket depth 0 (commas inside `{…}` / `(…)` stay together).
src/resolution/c-fnptr-synthesizer.ts:144
↓ 5 callers
Function
stopDaemonAt
( root: string, options: { preserveUnverified?: boolean; shutdownGraceMs?: number } = {}, )
src/mcp/daemon-registry.ts:300
↓ 5 callers
Method
storeExtractionResult
( filePath: string, content: string, language: Language, stats: fs.Stats, result: Extracti
src/extraction/index.ts:3371
↓ 5 callers
Function
supertypesOf
* The types a VB.NET type's declarations (every `Partial` part) inherit or * implement: the `Inherits` / `Implements` statements that open its body,
src/resolution/vbnet-receivers.ts:526
↓ 5 callers
Function
supervisionLostReason
(state: SupervisionState)
src/mcp/ppid-watchdog.ts:44
↓ 5 callers
Function
templateParametersAround
* The template parameters in scope where `node` is declared: its own * `template <…>` header and those of the class templates around it.
src/resolution/cpp-type-aliases.ts:500
↓ 5 callers
Function
terminateOnceStarted
( worker: Pick<Worker, 'terminate'>, started: Promise<void>, capMs = WORKER_START_SETTLE_MS )
src/worker-teardown.ts:50
← previous
next →
601–700 of 12,468, ranked by callers