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
↓ 14 callers
Function
lineOf
(src: string, idx: number)
src/resolution/callback-synthesizer.ts:159
↓ 14 callers
Function
lineOf
(index: number)
src/resolution/frameworks/nextjs.ts:260
↓ 14 callers
Function
loadExtensionOverrides
(rootDir: string)
src/project-config.ts:389
↓ 14 callers
Method
push_ref
(&mut self, r: &RefRow)
codegraph-kernel/src/buffers.rs:314
↓ 14 callers
Function
scanDirectory
( rootDir: string, onProgress?: (current: number, file: string) => void )
src/extraction/index.ts:1895
↓ 14 callers
Function
siteKey
(site: CallSite)
src/graph/branch-guards.ts:240
↓ 14 callers
Function
skip
codegraph-kernel/grammars/kotlin/scanner.c:121
↓ 14 callers
Method
visitNode
* Visit a node and extract information
src/extraction/tree-sitter.ts:1595
↓ 13 callers
Function
advance
codegraph-kernel/grammars/kotlin/scanner.c:123
↓ 13 callers
Method
clear
* Clear all data from the graph
src/index.ts:3428
↓ 13 callers
Method
clearCaches
* Clear internal caches
src/resolution/index.ts:827
↓ 13 callers
Function
commentOrStringEnd
* The index after the comment or string that starts at `i`, or -1 when none * does. Pascal comments are `{…}` (compiler directives included), `(*…*)`
src/extraction/languages/pascal-preparse.ts:146
↓ 13 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/java.rs:301
↓ 13 callers
Function
dependsOn
(context: ResolutionContext, ...deps: string[])
src/resolution/frameworks/package-deps.ts:122
↓ 13 callers
Function
destinationsForHref
(href: HrefLiteral, table: RouteTable)
src/resolution/frameworks/nextjs.ts:189
↓ 13 callers
Method
getAllFilePaths
* Get all tracked file paths (lightweight — no full FileRecord objects)
src/db/queries.ts:4708
↓ 13 callers
Function
getDaemonSocketCandidates
(projectRoot: string)
src/mcp/daemon-paths.ts:77
↓ 13 callers
Method
position
A short description of where in the chain this link sits.
__tests__/fixtures/starved-cluster-ts/src/pipeline/chain.ts:257
↓ 13 callers
Function
releaseWriterLock
(projectRoot: string, lockName: 'writer.pid' | 'rebuild.pid' = 'writer.pid')
src/mcp/writer-lock.ts:207
↓ 13 callers
Function
skip_jsws
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:136
↓ 12 callers
Function
buildTypeHierarchy
( cg: CodeGraph, focus: Node, options: { overrides?: boolean } = {} )
src/graph/type-hierarchy.ts:184
↓ 12 callers
Function
decodeLockInfo
(raw: string)
src/mcp/daemon-paths.ts:191
↓ 12 callers
Method
detect
Detect if project uses this framework (project-level, called once at startup)
src/resolution/types.ts:396
↓ 12 callers
Method
generatedFilePredicate
(paths: string[])
src/graph/symbol-lookup.ts:198
↓ 12 callers
Method
getStats
* Get graph statistics
src/db/queries.ts:5940
↓ 12 callers
Function
isIdentStart
Identifier characters, `&` (Delphi's keyword escape) and any non-ASCII letter.
src/extraction/languages/pascal-preparse.ts:125
↓ 12 callers
Function
isSourceFile
(filePath: string, overrides?: Record<string, Language>, rootDir?: string)
src/extraction/grammars.ts:250
↓ 12 callers
Method
iterateNodesByKindIn
* iterateNodesByKind narrowed to some languages, in the same canonical * order — the ORDER BY is total (`id` is unique), so this yields exactly the
src/db/queries.ts:1658
↓ 12 callers
Function
readWriterLock
(projectRoot: string, lockName: 'writer.pid' | 'rebuild.pid' = 'writer.pid')
src/mcp/writer-lock.ts:219
↓ 12 callers
Function
resurrectRefFromDroppedEdge
( e: Edge & { sourceFilePath: string; sourceLanguage: Language } )
src/resolution/resurrect-ref.ts:23
↓ 12 callers
Function
round
Numbers are rounded to a tenth: an SVG full of 17 decimals is unreadable.
ui/src/lib/export-svg.ts:164
↓ 12 callers
Function
rowToNode
* Convert database row to Node object
src/db/queries.ts:198
↓ 12 callers
Method
textResult
(text: string)
src/mcp/tools.ts:9346
↓ 12 callers
Method
visitFunctionBody
(body: SyntaxNode, _functionId: string)
src/extraction/tree-sitter.ts:7804
↓ 12 callers
Function
wireList
(items: T[], total: number)
src/ui-server/api/wire.ts:246
↓ 11 callers
Function
clearProjectConfigCache
()
src/project-config.ts:453
↓ 11 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/kotlin.rs:461
↓ 11 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/swift.rs:397
↓ 11 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/php.rs:319
↓ 11 callers
Function
escapesRoot
(rel: string)
src/utils.ts:136
↓ 11 callers
Function
getDaemonSocketPath
(projectRoot: string)
src/mcp/daemon-paths.ts:94
↓ 11 callers
Method
getFileByPath
* Get a file record by path
src/db/queries.ts:4363
↓ 11 callers
Function
getJson
(path: string, signal?: AbortSignal)
ui/src/lib/adapter.ts:339
↓ 11 callers
Method
getNodesByLowerName
Get nodes by lowercase name (O(1) lookup for fuzzy matching)
src/resolution/types.ts:167
↓ 11 callers
Function
getStdioServerConfig
()
src/installer/targets/shared.ts:38
↓ 11 callers
Function
getTelemetry
()
src/telemetry/index.ts:627
↓ 11 callers
Function
guardLabel
(guards: readonly BranchGuard[])
src/graph/branch-guards.ts:87
↓ 11 callers
Function
helperHead
* What a helper's head says (`class helper(TBaseHelper) for TFoo`, kept as * the helper's signature): the helper it descends from, and the type it *
src/resolution/pascal-scope.ts:1962
↓ 11 callers
Method
insertEdges
* Insert multiple edges in a transaction
src/db/queries.ts:2707
↓ 11 callers
Function
isGeneratedFile
(filePath: string)
src/extraction/generated-detection.ts:100
↓ 11 callers
Method
is_ts
TS-family (typescript/tsx): type annotations, interfaces, enums, aliases, visibility. The JS family lacks all of those hooks.
codegraph-kernel/src/tsjs/mod.rs:46
↓ 11 callers
Function
is_word_at
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:106
↓ 11 callers
Function
namedChildren
The named children of a node, in order.
src/graph/branch-guards.ts:1491
↓ 11 callers
Function
pushAll
(target: T[], items: readonly T[])
src/utils.ts:424
↓ 11 callers
Method
push_ref
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/tsjs/mod.rs:372
↓ 11 callers
Function
resolveProjectFile
(projectRoot: string, relativePath: string)
src/ui-server/security.ts:294
↓ 11 callers
Method
restore
()
__tests__/fixtures/kernel-parity/torture.php:201
↓ 11 callers
Function
tryAcquireWriterLock
( projectRoot: string, mode: string, lockName: 'writer.pid' | 'rebuild.pid' = 'writer.pid', )
src/mcp/writer-lock.ts:76
↓ 11 callers
Method
visitNode
Visit a child node (dispatches through the standard visitNode logic)
src/extraction/tree-sitter-types.ts:37
↓ 11 callers
Function
wordEnd
(s: string, i: number)
src/extraction/languages/pascal-preparse.ts:135
↓ 11 callers
Function
word_end
(s: &[u8], mut i: usize)
codegraph-kernel/src/cfnptr.rs:148
↓ 10 callers
Function
appRootFor
(filePath: string)
src/resolution/frameworks/expo-router.ts:589
↓ 10 callers
Function
basename
(path: string)
ui/src/lib/symbol-model.ts:104
↓ 10 callers
Function
buildScopeIgnore
(rootDir: string, embeddedRoots?: Iterable<string>, ignoredEntries?: string[])
src/extraction/index.ts:1134
↓ 10 callers
Function
buildSteps
(cg: CodeGraph, projectRoot: string, query: URLSearchParams)
src/ui-server/api/steps.ts:432
↓ 10 callers
Function
classifyEffect
(input: EffectInput)
src/ui-server/api/effects.ts:296
↓ 10 callers
Method
clear
()
src/resolution/lru-cache.ts:72
↓ 10 callers
Function
codeLines
A file's lines as code (see vbCode), read once per file.
src/resolution/vbnet-receivers.ts:203
↓ 10 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ccpp/mod.rs:546
↓ 10 callers
Function
encodeLockInfo
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:182
↓ 10 callers
Method
fileContains
`readFile(filePath)?.includes(needle) ?? false` for an ASCII `needle`, without decoding a file that lacks it.
src/resolution/types.ts:135
↓ 10 callers
Method
getResolutionContext
* The resolver's live ResolutionContext — resolver-pool workers use it to * run synthesis passes against their own read-only connection.
src/resolution/index.ts:2864
↓ 10 callers
Method
getWalSizeBytes
* Size of the `-wal` sidecar file in bytes. 0 when it doesn't exist (non-WAL * journal mode, in-memory DB, or no write since the last checkpoint+re
src/db/index.ts:693
↓ 10 callers
Method
hasSchema
* Whether the database holds `table`, or its `column`. An index an older * release built lacks what later migrations add until a writer's open *
src/db/queries.ts:635
↓ 10 callers
Function
init_signature
The `= <first 100 UTF-16 units>[...]` initializer signature used by extractVariable (its `.length >= 100` check fires exactly when the slice hit the c
codegraph-kernel/src/textutil.rs:246
↓ 10 callers
Function
isLanguageSupported
(language: Language)
src/extraction/grammars.ts:1029
↓ 10 callers
Function
jsonDeepEqual
(a: unknown, b: unknown)
src/installer/targets/shared.ts:247
↓ 10 callers
Function
lastNamed
(node: SyntaxNode)
src/graph/branch-guards.ts:1268
↓ 10 callers
Function
linkId
(link: { source: string; target: string })
ui/src/lib/map-model.ts:297
↓ 10 callers
Function
maskCppRawStrings
(source: string)
src/extraction/languages/c-cpp.ts:1228
↓ 10 callers
Function
onProgress
(progress: IndexProgress)
src/ui/shimmer-progress.ts:74
↓ 10 callers
Function
parse
(source: string, language: Language)
src/graph/branch-guards.ts:213
↓ 10 callers
Function
pascalNamed
The Pascal nodes a name names, whatever their case.
src/resolution/pascal-scope.ts:1856
↓ 10 callers
Method
push_ref_at
(&mut self, from_row: u32, name: &str, kind: &str, node: Node)
codegraph-kernel/src/dart.rs:370
↓ 10 callers
Function
readType
* The type written at `text[at]` — `List(Of Foo)`, `String()`, `Integer?`, * `Global.A.B` — by its last name; null when no type starts there.
src/resolution/vbnet-receivers.ts:147
↓ 10 callers
Function
release
(who: Contender)
__tests__/filelock-stale-takeover.test.ts:91
↓ 10 callers
Function
resolveNamedSymbolFlow
( cg: CodeGraph, query: string, opts: NamedSymbolFlowOptions = {} )
src/graph/named-symbol-flow.ts:652
↓ 10 callers
Function
startUiServer
(options: UiServerOptions)
src/ui-server/index.ts:169
↓ 10 callers
Function
stripCppTemplateArgs
(name: string)
src/extraction/languages/c-cpp.ts:515
↓ 10 callers
Function
toHref
(literal: string | null)
src/resolution/frameworks/expo-router.ts:329
↓ 10 callers
Function
upsertInstructionsEntry
( file: string, block: string = CODEGRAPH_INSTRUCTIONS_BLOCK, )
src/installer/targets/shared.ts:451
↓ 10 callers
Method
visit_function_body
(&mut self, body: Node<'t>)
codegraph-kernel/src/tsjs/mod.rs:801
↓ 10 callers
Method
watch
* Start watching for file changes and auto-syncing. * * Uses native OS file events (FSEvents on macOS, inotify on Linux 19+, * ReadDirectoryC
src/index.ts:2118
↓ 9 callers
Method
acquire
* Acquire the lock * * @returns A release function to call when done
src/utils.ts:717
↓ 9 callers
Method
at
Line `index`, 0-based, without its newline; undefined past the last.
src/resolution/ruby-parameter-flow.ts:65
↓ 9 callers
Function
atomText
Text of an atom with quoted-atom quotes stripped (`'EXIT'` → `EXIT`).
src/extraction/languages/erlang.ts:37
↓ 9 callers
Function
attributeSourceBytes
(finalText: string)
src/mcp/explore-diagnostics.ts:653
↓ 9 callers
Function
buildScreens
(cg: CodeGraph, projectRoot: string)
src/ui-server/api/screens.ts:227
↓ 9 callers
Function
classNamed
A class (or record or interface) a type name names, seen from `fromFile`.
src/resolution/pascal-scope.ts:2538
↓ 9 callers
Function
compute
(n: number)
__tests__/fixtures/kernel-parity/torture.tsx:45
← previous
next →
201–300 of 13,347, ranked by callers