MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 3 callersFunctionansiColorsEnabled
()
src/ui/color.ts:20
↓ 3 callersFunctionarmStartupHandshakeTimeout
( onAbandoned: () => void, stream: NodeJS.ReadableStream = process.stdin, timeoutMs: number = parseStart
src/mcp/startup-handshake.ts:53
↓ 3 callersMethodbackpressure
* 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 callersFunctionblankCLeadingAttrMacros
(source: string)
src/extraction/languages/c-cpp.ts:836
↓ 3 callersFunctionblankCppAnnotationMacroCalls
(source: string)
src/extraction/languages/c-cpp.ts:481
↓ 3 callersFunctionblankCppExportMacros
(source: string)
src/extraction/languages/c-cpp.ts:293
↓ 3 callersFunctionblankCudaConstructs
(source: string)
src/extraction/languages/c-cpp.ts:714
↓ 3 callersFunctionblankLoneMacroLines
(source: string)
src/extraction/languages/c-cpp.ts:551
↓ 3 callersFunctionboundary_before
(s: &[u8], i: usize)
codegraph-kernel/src/cfnptr.rs:157
↓ 3 callersMethodbuildContext
* 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 callersMethodcallee_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 callersFunctioncapFirst
* 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 callersMethodcheckpointWalPassive
* `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 callersFunctionchildRange
(lines: string[], parent: LineRange, child: string)
src/installer/targets/hermes.ts:165
↓ 3 callersFunctionclassifyGitDir
* 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 callersFunctioncleanupLegacyHooks
(loc: Location)
src/installer/targets/claude.ts:373
↓ 3 callersMethodclear
* Clear all data from the graph
src/index.ts:1805
↓ 3 callersMethodcloseAll
* Close all cached project connections
src/mcp/tools.ts:1135
↓ 3 callersMethodcol_of
(&self, node: Node)
codegraph-kernel/src/java.rs:256
↓ 3 callersMethodcol_of
(&self, node: Node)
codegraph-kernel/src/csharp.rs:273
↓ 3 callersFunctioncollapse
Collapse whitespace runs so multi-line clauses read as one signature.
src/extraction/languages/cobol.ts:56
↓ 3 callersMethodcollectNameSegmentRows
* 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 callersFunctioncompareVersions
(a: string, b: string)
src/upgrade/index.ts:169
↓ 3 callersFunctionconfigDir
(loc: Location)
src/installer/targets/kiro.ts:43
↓ 3 callersFunctionconfigDir
(loc: Location)
src/installer/targets/claude.ts:44
↓ 3 callersFunctionconfigDir
()
src/installer/targets/codex.ts:41
↓ 3 callersFunctionconfigDir
(loc: Location)
src/installer/targets/gemini.ts:48
↓ 3 callersFunctionconsider
(abs: string, rel: string, isDir: boolean)
src/extraction/index.ts:421
↓ 3 callersFunctionconsume_char
codegraph-kernel/grammars/lua/scanner.c:20
↓ 3 callersMethodcontractInfo
()
src/extraction/kernel/loader.ts:84
↓ 3 callersFunctioncppLastSegment
* Last `::`-separated segment of a (possibly namespace-qualified) C++ name.
src/resolution/name-matcher.ts:741
↓ 3 callersMethodcreate
(opts)
__tests__/fixtures/kernel-parity/torture.js:36
↓ 3 callersFunctioncreateShimmerProgress
()
src/ui/shimmer-progress.ts:25
↓ 3 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, signature: Option<&str>)
codegraph-kernel/src/rlang.rs:178
↓ 3 callersFunctioncrossesKnownFamily
(a: string, b: string)
src/resolution/name-matcher.ts:176
↓ 3 callersMethodctor_info
dartCtorInfo (dart.ts:61-70).
codegraph-kernel/src/dart.rs:411
↓ 3 callersFunctiondecodeExtractBuffers
( buffers: KernelBuffers, filePath: string, language: Language )
src/extraction/kernel/decode.ts:63
↓ 3 callersMethoddelegateNestedTags
* 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 callersMethoddelegateQueryTag
* 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 callersMethoddelegateScriptTag
* 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 callersMethoddeleteReferencesByRowIds
* 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 callersMethoddeleteSpecificResolvedReferences
* Delete specific resolved references by (fromNodeId, referenceName, referenceKind) tuples. * More precise than deleteResolvedReferences — only rem
src/db/queries.ts:2232
↓ 3 callersFunctionderegisterDaemon
(root: string)
src/mcp/daemon-registry.ts:76
↓ 3 callersMethoddestroy
()
src/resolution/resolver-pool.ts:322
↓ 3 callersFunctiondetectFrameworks
(context: ResolutionContext)
src/resolution/frameworks/index.ts:98
↓ 3 callersFunctiondetectInstallMethod
(input: DetectInput)
src/upgrade/index.ts:95
↓ 3 callersFunctiondetectWorktreeIndexMismatch
( startPath: string, indexRoot: string, )
src/sync/worktree.ts:93
↓ 3 callersFunctiondirOf
Directory of a stored (forward-slash, project-relative) path.
src/resolution/frameworks/terraform.ts:238
↓ 3 callersFunctiondiscoverEmbeddedRepoRoots
(rootDir: string)
src/extraction/index.ts:750
↓ 3 callersFunctiondone
()
src/mcp/proxy.ts:507
↓ 3 callersMethoddraw
__tests__/fixtures/kernel-parity/torture.kt:97
↓ 3 callersFunctionencodeLockInfo
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:108
↓ 3 callersFunctionendLineOf
(node: SyntaxNode)
src/extraction/languages/cobol.ts:51
↓ 3 callersFunctionextractCodeTokens
(prompt: string)
src/directory.ts:479
↓ 3 callersMethodextractPascalCall
* Extract function calls from a Pascal expression
src/extraction/tree-sitter.ts:6475
↓ 3 callersFunctionextractProseCandidates
(prompt: string)
src/search/identifier-segments.ts:114
↓ 3 callersMethodextractTypeRefsFromSubtree
* Recursively walk a subtree and extract all type_identifier references. * Handles unions, intersections, generics, arrays, etc.
src/extraction/tree-sitter.ts:6090
↓ 3 callersMethodextractVariableTypeAnnotation
* Extract type references from a variable's type annotation.
src/extraction/tree-sitter.ts:6074
↓ 3 callersMethodextract_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 callersMethodextract_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 callersMethodextract_decorators_for
(&mut self, decl: Node<'t>, decorated_row: u32)
codegraph-kernel/src/dart.rs:1080
↓ 3 callersMethodextract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/dart.rs:671
↓ 3 callersMethodextract_function
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:851
↓ 3 callersMethodextract_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 callersMethodextract_inheritance
extractInheritance — the Java clauses (type_list-aware).
codegraph-kernel/src/java.rs:978
↓ 3 callersMethodextract_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 callersMethodextract_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 callersMethodextract_inheritance
(&mut self, node: Node<'t>, class_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1232
↓ 3 callersMethodextract_name
extractName (tree-sitter.ts:98-192) — the lua-reachable branches.
codegraph-kernel/src/lua.rs:363
↓ 3 callersMethodextract_type_annotations
extractTypeAnnotations — Java's returnField is `type`.
codegraph-kernel/src/java.rs:1088
↓ 3 callersMethodextract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/swift.rs:1153
↓ 3 callersMethodextract_type_refs_from_subtree
(&mut self, node: Node<'t>, from_row: u32)
codegraph-kernel/src/tsjs/extractors.rs:1300
↓ 3 callersFunctionfail
(reason)
scripts/npm-shim.js:266
↓ 3 callersFunctionfetch
(request, env, ctx)
telemetry-worker/src/index.ts:188
↓ 3 callersFunctionfindDecorators
* 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 callersFunctionfindIgnoredEmbeddedRepos
* 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 callersFunctionfindPythonModuleFile
* 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 callersMethodfindRelevantContext
* 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 callersFunctionfind_bytes
(s: &[u8], needle: &[u8], from: usize)
codegraph-kernel/src/cfnptr.rs:161
↓ 3 callersFunctionfind_word
`\bWORD\b` occurrence search from `from`.
codegraph-kernel/src/cfnptr.rs:187
↓ 3 callersMethodfoldNow
* 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 callersMethodgetAllFilePaths
* Get all tracked file paths (lightweight — no full FileRecord objects)
src/db/queries.ts:2138
↓ 3 callersFunctiongetAllFrameworkResolvers
()
src/resolution/frameworks/index.ts:84
↓ 3 callersFunctiongetApplicableFrameworks
( detected: FrameworkResolver[], language: Language )
src/resolution/frameworks/index.ts:112
↓ 3 callersMethodgetCallees
* 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 callersFunctiongetExploreBudget
(fileCount: number)
src/mcp/tools.ts:134
↓ 3 callersMethodgetFileLines
* `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 callersMethodgetFilePathFromNodeId
* Get file path from node ID
src/resolution/index.ts:2078
↓ 3 callersMethodgetGoModule
* 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 callersMethodgetImpactRadius
* 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 callersMethodgetIndexBuildInfo
* 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 callersMethodgetNodesByFile
* Get all nodes in a file
src/db/queries.ts:876
↓ 3 callersMethodgetPath
* Get database file path
src/db/index.ts:374
↓ 3 callersMethodgetToolHandler
Shared ToolHandler — sessions delegate tool dispatch through this.
src/mcp/engine.ts:115
↓ 3 callersMethodgetUnresolvedReferences
* Get all unresolved references
src/db/queries.ts:2044
↓ 3 callersFunctiongetUpdateNotice
(deps: UpdateCheckDeps = {})
src/upgrade/update-check.ts:209
↓ 3 callersMethodgetWalAutocheckpoint
Current `wal_autocheckpoint` interval in pages (0 = disabled).
src/db/index.ts:454
↓ 3 callersFunctiongit
(cwd: string, ...args: string[])
__tests__/worktree-detection.test.ts:28
↓ 3 callersFunctiongitCommonDir
(dir: string)
src/sync/worktree.ts:58
↓ 3 callersFunctiongitHooksDir
* 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
← previousnext →401–500 of 3,841, ranked by callers