Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ functions
Functions
3,841 in github.com/colbymchenry/codegraph
⨍
Functions
3,841
◇
Types & classes
553
↳
Endpoints
1
↓ 3 callers
Function
ansiColorsEnabled
()
src/ui/color.ts:20
↓ 3 callers
Function
armStartupHandshakeTimeout
( onAbandoned: () => void, stream: NodeJS.ReadableStream = process.stdin, timeoutMs: number = parseStart
src/mcp/startup-handshake.ts:53
↓ 3 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:174
↓ 3 callers
Function
blankCLeadingAttrMacros
(source: string)
src/extraction/languages/c-cpp.ts:836
↓ 3 callers
Function
blankCppAnnotationMacroCalls
(source: string)
src/extraction/languages/c-cpp.ts:481
↓ 3 callers
Function
blankCppExportMacros
(source: string)
src/extraction/languages/c-cpp.ts:293
↓ 3 callers
Function
blankCudaConstructs
(source: string)
src/extraction/languages/c-cpp.ts:714
↓ 3 callers
Function
blankLoneMacroLines
(source: string)
src/extraction/languages/c-cpp.ts:551
↓ 3 callers
Function
boundary_before
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:157
↓ 3 callers
Method
buildContext
* Build context for a task * * Creates comprehensive context by: * 1. Running FTS search to find entry points * 2. Expanding the graph aro
src/index.ts:1784
↓ 3 callers
Method
callee_name
calleeName (r.ts:46-55): bare identifier text, or a namespace_operator's `rhs` field text (`pkg::fn` → `fn`) — so `methods::setClass` etc. trigger the
codegraph-kernel/src/rlang.rs:251
↓ 3 callers
Function
capFirst
* Capitalize the first character of a string. Used for the "With"-prefix * form on the first selector keyword when the Swift declaration has an * ex
src/resolution/swift-objc-bridge.ts:42
↓ 3 callers
Method
checkpointWalPassive
* `PRAGMA wal_checkpoint(PASSIVE)` on a worker thread with its own * connection. PASSIVE never blocks the writer, and running it off-thread * me
src/db/index.ts:489
↓ 3 callers
Function
childRange
(lines: string[], parent: LineRange, child: string)
src/installer/targets/hermes.ts:165
↓ 3 callers
Function
classifyGitDir
* Classify a directory's `.git` entry for embedded-repo discovery. * * - A `.git` **directory** is an embedded clone — distinct first-party code a
src/extraction/index.ts:547
↓ 3 callers
Function
cleanupLegacyHooks
(loc: Location)
src/installer/targets/claude.ts:373
↓ 3 callers
Method
clear
* Clear all data from the graph
src/index.ts:1805
↓ 3 callers
Method
closeAll
* Close all cached project connections
src/mcp/tools.ts:1135
↓ 3 callers
Method
col_of
(&self, node: Node)
codegraph-kernel/src/java.rs:256
↓ 3 callers
Method
col_of
(&self, node: Node)
codegraph-kernel/src/csharp.rs:273
↓ 3 callers
Function
collapse
Collapse whitespace runs so multi-line clauses read as one signature.
src/extraction/languages/cobol.ts:56
↓ 3 callers
Method
collectNameSegmentRows
* Collect (segment, name) rows for a name, honouring the same session-dedupe * semantics as insertNameSegments(). Shared by the bulk write paths.
src/db/queries.ts:540
↓ 3 callers
Function
compareVersions
(a: string, b: string)
src/upgrade/index.ts:169
↓ 3 callers
Function
configDir
(loc: Location)
src/installer/targets/kiro.ts:43
↓ 3 callers
Function
configDir
(loc: Location)
src/installer/targets/claude.ts:44
↓ 3 callers
Function
configDir
()
src/installer/targets/codex.ts:41
↓ 3 callers
Function
configDir
(loc: Location)
src/installer/targets/gemini.ts:48
↓ 3 callers
Function
consider
(abs: string, rel: string, isDir: boolean)
src/extraction/index.ts:421
↓ 3 callers
Function
consume_char
codegraph-kernel/grammars/lua/scanner.c:20
↓ 3 callers
Method
contractInfo
()
src/extraction/kernel/loader.ts:84
↓ 3 callers
Function
cppLastSegment
* Last `::`-separated segment of a (possibly namespace-qualified) C++ name.
src/resolution/name-matcher.ts:741
↓ 3 callers
Method
create
(opts)
__tests__/fixtures/kernel-parity/torture.js:36
↓ 3 callers
Function
createShimmerProgress
()
src/ui/shimmer-progress.ts:25
↓ 3 callers
Method
create_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, signature: Option<&str>)
codegraph-kernel/src/rlang.rs:178
↓ 3 callers
Function
crossesKnownFamily
(a: string, b: string)
src/resolution/name-matcher.ts:176
↓ 3 callers
Method
ctor_info
dartCtorInfo (dart.ts:61-70).
codegraph-kernel/src/dart.rs:411
↓ 3 callers
Function
decodeExtractBuffers
( buffers: KernelBuffers, filePath: string, language: Language )
src/extraction/kernel/decode.ts:63
↓ 3 callers
Method
delegateNestedTags
* Recursively delegates any `cf_script_tag`/`cf_query_tag` found within * `node`'s subtree — e.g. a `<cfscript>`/`<cfquery>` nested inside * `<c
src/extraction/cfml-extractor.ts:308
↓ 3 callers
Method
delegateQueryTag
* Delegate a `<cfquery>...</cfquery>` tag's SQL body to the `cfquery` grammar. * `#hash#` expressions inside the SQL (e.g. `#getCurrentUser().getId
src/extraction/cfml-extractor.ts:407
↓ 3 callers
Method
delegateScriptTag
* Delegate a `<cfscript>...</cfscript>` tag body to the cfscript grammar. * With `parentClassName` set (the block sits at component scope), functio
src/extraction/cfml-extractor.ts:335
↓ 3 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:2258
↓ 3 callers
Method
deleteSpecificResolvedReferences
* Delete specific resolved references by (fromNodeId, referenceName, referenceKind) tuples. * More precise than deleteResolvedReferences — only rem
src/db/queries.ts:2232
↓ 3 callers
Function
deregisterDaemon
(root: string)
src/mcp/daemon-registry.ts:76
↓ 3 callers
Method
destroy
()
src/resolution/resolver-pool.ts:322
↓ 3 callers
Function
detectFrameworks
(context: ResolutionContext)
src/resolution/frameworks/index.ts:98
↓ 3 callers
Function
detectInstallMethod
(input: DetectInput)
src/upgrade/index.ts:95
↓ 3 callers
Function
detectWorktreeIndexMismatch
( startPath: string, indexRoot: string, )
src/sync/worktree.ts:93
↓ 3 callers
Function
dirOf
Directory of a stored (forward-slash, project-relative) path.
src/resolution/frameworks/terraform.ts:238
↓ 3 callers
Function
discoverEmbeddedRepoRoots
(rootDir: string)
src/extraction/index.ts:750
↓ 3 callers
Function
done
()
src/mcp/proxy.ts:507
↓ 3 callers
Method
draw
__tests__/fixtures/kernel-parity/torture.kt:97
↓ 3 callers
Function
encodeLockInfo
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:108
↓ 3 callers
Function
endLineOf
(node: SyntaxNode)
src/extraction/languages/cobol.ts:51
↓ 3 callers
Function
extractCodeTokens
(prompt: string)
src/directory.ts:479
↓ 3 callers
Method
extractPascalCall
* Extract function calls from a Pascal expression
src/extraction/tree-sitter.ts:6475
↓ 3 callers
Function
extractProseCandidates
(prompt: string)
src/search/identifier-segments.ts:114
↓ 3 callers
Method
extractTypeRefsFromSubtree
* Recursively walk a subtree and extract all type_identifier references. * Handles unions, intersections, generics, arrays, etc.
src/extraction/tree-sitter.ts:6090
↓ 3 callers
Method
extractVariableTypeAnnotation
* Extract type references from a variable's type annotation.
src/extraction/tree-sitter.ts:6074
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — kotlin annotations inside `modifiers`: `@Marker` (user_type child) → decorates ref; `@Anno(args)` (constructor_invocation) → NO
codegraph-kernel/src/kotlin.rs:1158
↓ 3 callers
Method
extract_decorators_for
extractDecoratorsFor — python decorators are PRECEDING SIBLINGS inside decorated_definition. Only bare-identifier decorators yield a target (python's
codegraph-kernel/src/python.rs:625
↓ 3 callers
Method
extract_decorators_for
(&mut self, decl: Node<'t>, decorated_row: u32)
codegraph-kernel/src/dart.rs:1080
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:671
↓ 3 callers
Method
extract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:851
↓ 3 callers
Method
extract_inheritance
extractInheritance — delegation_specifier: user_type ?? its constructor_invocation's user_type → FIRST type_identifier → ONE `extends` ref at the type
codegraph-kernel/src/kotlin.rs:1116
↓ 3 callers
Method
extract_inheritance
extractInheritance — the Java clauses (type_list-aware).
codegraph-kernel/src/java.rs:978
↓ 3 callers
Method
extract_inheritance
extractInheritance — the rust-reachable cases: trait_bounds (supertraits; a scoped `fmt::Debug` bound matches NO case and is dropped), the Go embeddin
codegraph-kernel/src/rustlang.rs:966
↓ 3 callers
Method
extract_inheritance
extractInheritance — base_clause takes ONLY the first base (interface multi-extends drops the rest); class_interface_clause takes ALL children unfilte
codegraph-kernel/src/php.rs:1163
↓ 3 callers
Method
extract_inheritance
(&mut self, node: Node<'t>, class_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1232
↓ 3 callers
Method
extract_name
extractName (tree-sitter.ts:98-192) — the lua-reachable branches.
codegraph-kernel/src/lua.rs:363
↓ 3 callers
Method
extract_type_annotations
extractTypeAnnotations — Java's returnField is `type`.
codegraph-kernel/src/java.rs:1088
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/swift.rs:1153
↓ 3 callers
Method
extract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1300
↓ 3 callers
Function
fail
(reason)
scripts/npm-shim.js:266
↓ 3 callers
Function
fetch
(request, env, ctx)
telemetry-worker/src/index.ts:188
↓ 3 callers
Function
findDecorators
* Find every `@Name(...)` decorator whose name is in `names`. Uses a * string-aware balanced-paren reader for the argument list so type thunks * lik
src/resolution/frameworks/nestjs.ts:308
↓ 3 callers
Function
findIgnoredEmbeddedRepos
* Discover embedded repos hidden by `repoDir`'s OWN gitignore rules: for each * gitignored directory, search for nested `.git` roots. Returns repo pa
src/extraction/index.ts:869
↓ 3 callers
Function
findPythonModuleFile
* Find the file node for a Python dotted module path `a.b.c` — a module file * ending in `a/b/c.py`, or a package `a/b/c/__init__.py` (suffix-matched
src/resolution/import-resolver.ts:1766
↓ 3 callers
Method
findRelevantContext
* Find relevant subgraph for a query * * Combines semantic search with graph traversal to find the most * relevant nodes and their relationsh
src/index.ts:1764
↓ 3 callers
Function
find_bytes
(s: &[u8], needle: &[u8], from: usize)
codegraph-kernel/src/cfnptr.rs:161
↓ 3 callers
Function
find_word
`\bWORD\b` occurrence search from `from`.
codegraph-kernel/src/cfnptr.rs:187
↓ 3 callers
Method
foldNow
* Phase-boundary fold: backfill the ENTIRE WAL now (off-thread, awaited). * Called between bulk phases — e.g. after parsing, before resolution's
src/db/wal-valve.ts:211
↓ 3 callers
Method
getAllFilePaths
* Get all tracked file paths (lightweight — no full FileRecord objects)
src/db/queries.ts:2138
↓ 3 callers
Function
getAllFrameworkResolvers
()
src/resolution/frameworks/index.ts:84
↓ 3 callers
Function
getApplicableFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:112
↓ 3 callers
Method
getCallees
* Get callees of a function/method * * @param nodeId - ID of the function/method node * @param maxDepth - Maximum depth to traverse (default:
src/index.ts:1629
↓ 3 callers
Function
getExploreBudget
(fileCount: number)
src/mcp/tools.ts:134
↓ 3 callers
Method
getFileLines
* `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type * inference scans source lines for EVERY `receiver.method()` ref; split
src/resolution/types.ts:98
↓ 3 callers
Method
getFilePathFromNodeId
* Get file path from node ID
src/resolution/index.ts:2078
↓ 3 callers
Method
getGoModule
* Go module info from `go.mod` at the project root. Returns `null` * when the project has no `go.mod` (non-Go projects, pre-modules * Go code, o
src/resolution/types.ts:150
↓ 3 callers
Method
getImpactRadius
* Calculate the impact radius of a node * * Returns all nodes that could be affected by changes to this node. * * @param nodeId - ID of th
src/index.ts:1642
↓ 3 callers
Method
getIndexBuildInfo
* Which engine built the current index: the package version + extraction * version stamped at the last full `indexAll`. Either field is null for an
src/index.ts:1109
↓ 3 callers
Method
getNodesByFile
* Get all nodes in a file
src/db/queries.ts:876
↓ 3 callers
Method
getPath
* Get database file path
src/db/index.ts:374
↓ 3 callers
Method
getToolHandler
Shared ToolHandler — sessions delegate tool dispatch through this.
src/mcp/engine.ts:115
↓ 3 callers
Method
getUnresolvedReferences
* Get all unresolved references
src/db/queries.ts:2044
↓ 3 callers
Function
getUpdateNotice
(deps: UpdateCheckDeps = {})
src/upgrade/update-check.ts:209
↓ 3 callers
Method
getWalAutocheckpoint
Current `wal_autocheckpoint` interval in pages (0 = disabled).
src/db/index.ts:454
↓ 3 callers
Function
git
(cwd: string, ...args: string[])
__tests__/worktree-detection.test.ts:28
↓ 3 callers
Function
gitCommonDir
(dir: string)
src/sync/worktree.ts:58
↓ 3 callers
Function
gitHooksDir
* Resolve the git hooks directory for a project, honoring `core.hooksPath` * and git worktrees. Returns an absolute path, or null when not a repo.
src/sync/git-hooks.ts:60
← previous
next →
401–500 of 3,841, ranked by callers