MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions3,841 in github.com/colbymchenry/codegraph

↓ 2 callersFunctionfnptr_paren_tail
`\(\s*(?:\w+\s+)*\*\s*(\w+)\s*\)\s*\(` matched at `open` (which must hold `(`). Returns (name_range, end_after_second_paren). The `(?:\w+\s+)*` group
codegraph-kernel/src/cfnptr.rs:305
↓ 2 callersFunctionformatDuration
* Format duration in milliseconds to human readable
src/bin/codegraph.ts:281
↓ 2 callersMethodformatNodeList
(nodes: Node[], title: string, labels?: Map<string, string>)
src/mcp/tools.ts:4587
↓ 2 callersFunctionformatUpdateNotice
(current: string, latest: string)
src/upgrade/update-check.ts:134
↓ 2 callersFunctionformatUptime
(ms: number)
src/mcp/daemon-manager.ts:23
↓ 2 callersMethodfunctionReturnedObject
* The object literal a function expression returns — either the `=> ({...})` * arrow form (a parenthesized_expression wrapping an object) or a *
src/extraction/tree-sitter.ts:2222
↓ 2 callersMethodfunction_returned_object
(&self, fn_node: Node<'t>)
codegraph-kernel/src/tsjs/extractors.rs:500
↓ 2 callersMethodgateLanguage
(result: ResolvedRef | null, ref: UnresolvedRef)
src/resolution/index.ts:2406
↓ 2 callersMethodgetAdjacentEdges
* Get adjacent edges based on direction
src/graph/traversal.ts:235
↓ 2 callersMethodgetAllNodeNames
* Get all distinct node names (lightweight — just name strings for pre-filtering)
src/db/queries.ts:2149
↓ 2 callersMethodgetAllNodes
* Get all nodes in the database
src/db/queries.ts:1068
↓ 2 callersMethodgetAncestors
* Get the containment hierarchy for a node (ancestors) * * @param nodeId - ID of the node * @returns Array of ancestor nodes from immediate p
src/graph/traversal.ts:682
↓ 2 callersMethodgetBackend
* Active SQLite backend for this project's connection (`node-sqlite` — Node's * built-in real-SQLite module). Surfaced via `codegraph status` and t
src/index.ts:1231
↓ 2 callersMethodgetCallGraph
* Get the call graph for a function * * Returns both callers (functions that call this function) and * callees (functions called by this func
src/index.ts:1581
↓ 2 callersMethodgetChangedFiles
* Get files that have changed since last index
src/index.ts:1074
↓ 2 callersMethodgetChildren
* Get immediate children of a node * * @param nodeId - ID of the node * @returns Array of child nodes
src/graph/traversal.ts:720
↓ 2 callersMethodgetCode
* Get the source code for a node * * Reads the file and extracts the code between startLine and endLine. * * @param nodeId - ID of the nod
src/index.ts:1750
↓ 2 callersMethodgetContext
* Get the context for a node (ancestors, children, references) * * Returns comprehensive context about a node including its containment * hie
src/index.ts:1553
↓ 2 callersMethodgetCrossFileIncomingEdgesWithTarget
* Cross-file edges whose TARGET is a node in `filePath` and whose SOURCE is a * node in a *different* file, paired with the target node's (name, ki
src/db/queries.ts:1835
↓ 2 callersMethodgetDbFileSizeBytes
Size of the main DB file in bytes (0 for in-memory/unknown) — the WAL * valve scales its fold caps with it (resolveWalValveMb).
src/db/index.ts:444
↓ 2 callersMethodgetDegradedReason
The reason live watching degraded, or null if it is healthy.
src/sync/watcher.ts:702
↓ 2 callersMethodgetDistinctFileLanguages
* Distinct languages present in the files table. One indexed aggregate — * lets the dynamic-edge synthesizers skip passes for languages the project
src/db/queries.ts:1099
↓ 2 callersFunctiongetExploreOutputBudget
(fileCount: number)
src/mcp/tools.ts:192
↓ 2 callersMethodgetFile
* Get a file record by path
src/index.ts:1528
↓ 2 callersMethodgetFileDependents
* Get dependents of a file * * @param filePath - Path to the file * @returns Array of file paths that depend on this file
src/index.ts:1698
↓ 2 callersMethodgetFileDependents
* Get dependents of a file * * Returns all files that import from this file. * * @param filePath - Path to the file * @returns Array of
src/graph/queries.ts:134
↓ 2 callersFunctiongetGitVisibleFiles
* Get all files visible to git (tracked + untracked but not ignored). * Respects .gitignore at all levels (root, subdirectories) and descends into *
src/extraction/index.ts:1018
↓ 2 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/graph/traversal.ts:520
↓ 2 callersMethodgetIndexState
* Completeness of the last full index run. `'complete'` is the only good * state. `'indexing'` after the fact means a run was killed mid-index (OOM
src/index.ts:1096
↓ 2 callersMethodgetJournalMode
* The journal mode actually in effect (e.g. 'wal', 'delete'). * * SQLite silently keeps the prior mode if WAL can't be enabled — e.g. on * fi
src/db/index.ts:388
↓ 2 callersMethodgetLastIndexedAt
* Most recent index timestamp (ms since epoch) across all tracked files, or * null when nothing is indexed yet. Lets library consumers check index
src/index.ts:1083
↓ 2 callersMethodgetMetadata
* Get a metadata value by key
src/db/queries.ts:2476
↓ 2 callersMethodgetNodesByLowerName
Get nodes by lowercase name (O(1) lookup for fuzzy matching)
src/resolution/types.ts:115
↓ 2 callersMethodgetNodesByQualifiedNameExact
* Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
src/db/queries.ts:1132
↓ 2 callersFunctiongetOpencodeServerEntry
()
src/installer/targets/opencode.ts:118
↓ 2 callersMethodgetPendingFiles
* Files seen by the file watcher since the last successful sync — * the per-file "stale" signal MCP tools attach to responses so an agent * can
src/index.ts:1058
↓ 2 callersMethodgetPendingFiles
* Snapshot of files seen by the watcher since the last successful sync. * * Used by MCP tool responses to mark stale results without blocking on
src/sync/watcher.ts:962
↓ 2 callersMethodgetProjectAliases
* Project import-path aliases (tsconfig/jsconfig `paths`). Returns * `null` when the project doesn't define any. Cached per resolver * instance
src/resolution/types.ts:142
↓ 2 callersMethodgetRelatedFiles
* Get unique files from a subgraph
src/context/index.ts:1300
↓ 2 callersFunctiongetSection
(content: string, sectionName: string)
src/resolution/frameworks/cargo-workspace.ts:17
↓ 2 callersMethodgetSegmentCoOccurrence
* Names whose segments cover at least `minWords` distinct PROMPT WORDS — * the co-occurrence probe behind the prompt hook's medium tier: the words
src/db/queries.ts:706
↓ 2 callersMethodgetSegmentMatches
* Graph-derived prompt matching for the front-load hook's MEDIUM tier: * which indexed symbols do these prose words name? "state machine des * c
src/index.ts:1321
↓ 2 callersFunctiongetStaticTools
()
src/mcp/tools.ts:784
↓ 2 callersFunctiongetStemVariants
(term: string)
src/search/query-utils.ts:85
↓ 2 callersFunctiongetSupportedLanguages
()
src/extraction/grammars.ts:569
↓ 2 callersMethodgetTypeHierarchy
* Get the type hierarchy for a class/interface * * Returns both ancestors (types this extends/implements) and * descendants (types that exten
src/index.ts:1594
↓ 2 callersFunctiongetVersion
()
src/installer/index.ts:52
↓ 2 callersMethodgetWatcherDegradedReason
The reason live watching degraded, or null if it is healthy (#876).
src/index.ts:1042
↓ 2 callersFunctiongit
(cwd: string, ...args: string[])
__tests__/extraction.test.ts:6964
↓ 2 callersFunctiongit
(cwd: string, ...args: string[])
__tests__/multi-repo-workspace.test.ts:32
↓ 2 callersFunctiongitlinkEmbeddedRepoSkipped
* Whether an embedded repo found as a tracked gitlink (mode 160000, #1031/#1033) * must be SKIPPED rather than indexed. A gitlink is tracked, so `.gi
src/extraction/index.ts:728
↓ 2 callersFunctiongreetDef
()
__tests__/sync.test.ts:548
↓ 2 callersFunctionhas
(...ls: string[])
src/resolution/callback-synthesizer.ts:3664
↓ 2 callersMethodhasAnyPossibleMatch
* Check if a reference name has any possible match in the codebase. * Uses the pre-built knownNames set to skip expensive resolution * for names
src/resolution/index.ts:766
↓ 2 callersFunctionhasBetaSignupChoice
(deps: BetaSignupDeps = {})
src/installer/beta-signup.ts:49
↓ 2 callersMethodhealSegmentVocabIfEmpty
* One-shot upgrade heal for callers that open the graph WITHOUT syncing — * concretely the prompt hook, whose MEDIUM tier reads the segment * vo
src/index.ts:1426
↓ 2 callersMethodhelper
(Object arg)
__tests__/fixtures/kernel-parity/Torture.java:52
↓ 2 callersFunctionhermesHome
()
src/installer/targets/hermes.ts:105
↓ 2 callersFunctionimportedFqnOf
* When several classes share a simple type name, the caller file's import of * that type is the only signal that names WHICH one (#314). Returns the
src/resolution/name-matcher.ts:1028
↓ 2 callersFunctionincludeStaticRoots
* The static directory prefix of each `include` pattern — the literal leading * path up to the first glob segment — trailing-slashed, used to (a) wal
src/extraction/index.ts:368
↓ 2 callersMethodindexFile
* Index a single file
src/extraction/index.ts:2146
↓ 2 callersMethodindexFiles
* Index specific files * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:722
↓ 2 callersFunctioninferCppReceiverType
( receiverName: string, ref: UnresolvedRef, context: ResolutionContext, depth = 0, )
src/resolution/name-matcher.ts:675
↓ 2 callersFunctioninferLocalReceiverType
* Infer a receiver's type from its local declaration/initializer in the * enclosing function body. Language-dispatched; returns null for languages *
src/resolution/name-matcher.ts:1360
↓ 2 callersMethodinitialize
* Initialize the resolver (detect frameworks, etc.)
src/resolution/index.ts:309
↓ 2 callersMethodinner_signature
dartInnerSignature (dart.ts:9-17).
codegraph-kernel/src/dart.rs:368
↓ 2 callersMethodinsertNameSegments
Write `name`'s segments into name_segment_vocab (idempotent).
src/db/queries.ts:413
↓ 2 callersMethodinsertNameSegmentsBatch
Insert segments for a batch of names in one transaction (vocab heal path).
src/db/queries.ts:680
↓ 2 callersMethodinside_class_like
(&self)
codegraph-kernel/src/kotlin.rs:268
↓ 2 callersMethodinside_class_like
(&self)
codegraph-kernel/src/java.rs:265
↓ 2 callersMethodinside_class_like
(&self)
codegraph-kernel/src/go.rs:195
↓ 2 callersMethodinside_class_like
isInsideClassLikeNode — stack TOP only, file doesn't count.
codegraph-kernel/src/rustlang.rs:217
↓ 2 callersMethodinside_class_like
(&self)
codegraph-kernel/src/csharp.rs:282
↓ 2 callersMethodinside_class_like
(&self)
codegraph-kernel/src/ccpp/mod.rs:455
↓ 2 callersMethodinside_class_like
isInsideClassLikeNode.
codegraph-kernel/src/tsjs/mod.rs:287
↓ 2 callersFunctioninstallCommandSupervision
(label: string, watchdog: WatchdogOptions = {})
src/bin/command-supervision.ts:54
↓ 2 callersFunctioninstallFatalHandlers
(deps: FatalHandlerDeps = {})
src/bin/fatal-handler.ts:79
↓ 2 callersFunctioninstallGitSyncHook
( projectRoot: string, hooks: GitHookName[] = DEFAULT_SYNC_HOOKS, )
src/sync/git-hooks.ts:125
↓ 2 callersFunctionisAlive
(pid: number)
__tests__/index-orphan-watchdog.test.ts:24
↓ 2 callersFunctionisAlive
(pid: number)
__tests__/mcp-ppid-watchdog.test.ts:33
↓ 2 callersMethodisAlwaysIgnored
Our own dirs are always ignored, regardless of .gitignore.
src/sync/watcher.ts:638
↓ 2 callersFunctionisCobolCopybookRef
(ref: UnresolvedRef)
src/resolution/import-resolver.ts:729
↓ 2 callersFunctionisConfigLeafNode
(node: { kind: string; language?: string })
src/utils.ts:64
↓ 2 callersMethodisDegraded
* Whether live watching has degraded permanently (until the next start()). * Distinct from {@link isActive}: a degraded watcher is inactive, but an
src/sync/watcher.ts:697
↓ 2 callersFunctionisDrupalHookFile
(filePath: string)
src/resolution/frameworks/drupal.ts:207
↓ 2 callersFunctionisErlangAppFile
(filePath: string)
src/extraction/grammars.ts:213
↓ 2 callersFunctionisExpoModuleSource
* Detect whether a file is plausibly an Expo Module — looking for both * the `: Module` inheritance and at least one declarative `Function(...)` * /
src/resolution/frameworks/expo-modules.ts:88
↓ 2 callersMethodisIndexStale
* True when the on-disk index was built by an engine whose extraction is * older than the one now running — i.e. a re-index would add data a migrat
src/index.ts:1123
↓ 2 callersMethodisInitialized
* Check if a directory has been initialized as a CodeGraph project
src/index.ts:406
↓ 2 callersMethodisInsideClassLikeNode
* Check if the current node stack indicates we are inside a class-like node * (class, struct, interface, trait). File nodes do not count as class-l
src/extraction/tree-sitter.ts:1486
↓ 2 callersFunctionisLombok
(n: Row | undefined)
__tests__/lombok.test.ts:48
↓ 2 callersFunctionisNixPathImportRef
(ref: UnresolvedRef)
src/resolution/import-resolver.ts:51
↓ 2 callersFunctionisObjcExposed
(sourceSlice: string)
src/resolution/swift-objc-bridge.ts:273
↓ 2 callersFunctionisProcessAlive
(pid: number)
src/mcp/daemon.ts:666
↓ 2 callersMethodisReplacedOnDisk
* True when the DB file at our path has been REPLACED on disk since we opened * it — a different inode now lives at the same path, so the fd we sti
src/db/index.ts:681
↓ 2 callersFunctionisShopifyLiquidJson
(filePath: string)
src/extraction/grammars.ts:199
↓ 2 callersFunctionisStaticProjectPath
(value: string)
src/extraction/languages/nix.ts:31
↓ 2 callersFunctionisSyncHookInstalled
( projectRoot: string, hooks: GitHookName[] = DEFAULT_SYNC_HOOKS, )
src/sync/git-hooks.ts:202
↓ 2 callersFunctionisTopLevel
(level: number)
src/extraction/languages/cobol.ts:193
↓ 2 callersMethodisVbnetConstructorShapedArrayCreation
* VB.NET `New Invoice(1)` is syntactically ambiguous between constructing * Invoice with an argument and allocating an Invoice array of bound 1; th
src/extraction/tree-sitter.ts:4600
← previousnext →901–1,000 of 3,841, ranked by callers