MCPcopy Create free account

hub / github.com/colbymchenry/codegraph / functions

Functions13,347 in github.com/colbymchenry/codegraph

↓ 7 callersMethodextract_name
extractName / extractNameRaw for the TS/JS configs.
codegraph-kernel/src/tsjs/mod.rs:1018
↓ 7 callersFunctionfindIndexedFile
( cg: CodeGraph, requested: string )
src/ui-server/api/source.ts:70
↓ 7 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:3371
↓ 7 callersFunctionfirstArgumentText
( lines: readonly string[], line: number, column: number, method: string )
src/resolution/frameworks/expo-router.ts:422
↓ 7 callersMethodflushNow
* Drain in-memory state to the buffer, then send completed-day rollups and * lifecycle events. Bounded by `timeoutMs`; leftovers stay buffered for
src/telemetry/index.ts:335
↓ 7 callersFunctionformatNumber
* Format a number with commas
src/bin/codegraph.ts:299
↓ 7 callersMethodgetDetectedFrameworks
* Get detected frameworks in the project
src/index.ts:2390
↓ 7 callersFunctiongetExploreOutputBudget
(fileCount: number)
src/mcp/tools.ts:323
↓ 7 callersMethodgetFileDependents
* Get dependents of a file * * @param filePath - Path to the file * @param opts - `skipTiers`: leave out links across a process boundary (a
src/index.ts:3294
↓ 7 callersMethodgetGeneratedPathsAmong
* Which of `filePaths` the index flagged as tool-generated (schema v9+). * * Bounded-lookup by design: every consumer already holds a candidate
src/db/queries.ts:4184
↓ 7 callersFunctiongetGitChangedFiles
(rootDir: string, sinceCommit?: string | null)
src/extraction/index.ts:1649
↓ 7 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:2273
↓ 7 callersMethodgetJournalMode
* The journal mode actually in effect ('wal', 'delete', …). 'wal' means * readers never block on a concurrent writer; anything else means they can,
src/index.ts:2430
↓ 7 callersMethodgetNodesInFileNamed
`getNodesInFile(f).filter(n => n.name === name)`, without decoding the rest of the file.
src/resolution/types.ts:103
↓ 7 callersMethodgetReExports
* Re-exports declared by a file (`export { x } from './other'`, * `export * from './other'`). Empty array when the file has none. * Optional so
src/resolution/types.ts:290
↓ 7 callersFunctionhasCodegraphServer
(file: string)
src/installer/targets/json-config.ts:65
↓ 7 callersMethodhasDefaultCodeGraph
Whether the default project's CodeGraph is open.
src/mcp/engine.ts:211
↓ 7 callersFunctionhasDriftedOnDisk
( projectRoot: string, storedPath: string, record: FileRecord )
src/ui-server/api/source.ts:204
↓ 7 callersFunctionimportsBoundTo
(imports: ImportMapping[], name: string)
src/resolution/import-lookup.ts:49
↓ 7 callersMethodindexFiles
* Index specific files * * Uses a mutex to prevent concurrent indexing operations.
src/index.ts:985
↓ 7 callersMethodinit
* Initialize a new CodeGraph project * * Creates the .CodeGraph directory, database, and configuration. * * @param projectRoot - Path to t
src/index.ts:415
↓ 7 callersFunctioninnermostAt
* The innermost named node containing (row, col). `descendantForPosition` is * the fast path, but some grammars (Swift's `statements`) answer with th
src/graph/branch-guards.ts:1121
↓ 7 callersMethodinsertNodes
* Insert multiple nodes in a transaction
src/db/queries.ts:816
↓ 7 callersFunctionintParam
( query: URLSearchParams, name: string, opts: { min: number; max: number; default?: number } )
src/ui-server/api/respond.ts:159
↓ 7 callersMethodisEnabled
()
src/telemetry/index.ts:256
↓ 7 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:2300
↓ 7 callersMethoditerate
(...params: unknown[])
src/db/queries.ts:281
↓ 7 callersFunctionjoinRel
(dir: string, rel: string)
src/resolution/import-resolver.ts:688
↓ 7 callersMethodlines
(file: string)
src/resolution/cpp-template-instantiations.ts:448
↓ 7 callersFunctionmaskCppCode
* The code the macro scans below match on, at the source's offsets: comments * are spaces, a string or char literal keeps its place as `\x01`s (it is
src/extraction/languages/c-cpp.ts:747
↓ 7 callersFunctionmergeRanges
(ranges: ReadonlyArray<ExploreLineRange>)
src/mcp/explore-dedup.ts:102
↓ 7 callersFunctionnext
(n: number)
__tests__/integration/lru-cache.test.ts:103
↓ 7 callersFunctionownerOf
The qualified name of what declares a node (`TFoo::Bar` → `tfoo`), lowercased.
src/resolution/pascal-scope.ts:2157
↓ 7 callersFunctionpreParsePascal
(source: string)
src/extraction/languages/pascal-preparse.ts:1063
↓ 7 callersFunctionprev_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:189
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/kotlin.rs:436
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/java.rs:295
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/go.rs:205
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/csharp.rs:318
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/php.rs:313
↓ 7 callersMethodpush_ref_at
(&mut self, from_row: u32, name: &str, kind_code: u8, node: Node)
codegraph-kernel/src/ccpp/mod.rs:526
↓ 7 callersFunctionreadHrefViaLocal
( lines: readonly string[], line: number, column: number, method: string, enclosingStart: number )
src/resolution/frameworks/expo-router.ts:482
↓ 7 callersFunctionreal
realpath so macOS /var → /private/var symlinking doesn't break equality.
__tests__/worktree-detection.test.ts:35
↓ 7 callersFunctionremoveCodegraphServer
(file: string, alsoEdit: Edit = noEdit)
src/installer/targets/json-config.ts:118
↓ 7 callersFunctionremoveInstructionsEntry
(file: string)
src/installer/targets/shared.ts:488
↓ 7 callersFunctionreopenEdges
* Swap for their references the edges of each importer's references through * its bound names — the binding itself or a member read through it * (`O
src/resolution/module-importers.ts:883
↓ 7 callersMethodresolveAndPersistBatched
* Resolve and persist in batches to keep memory bounded. * Processes unresolved references in chunks, persisting edges and cleaning * up resolve
src/resolution/index.ts:2884
↓ 7 callersFunctionresolveServerRoot
( searchFrom: string, opts: { subprojectScan?: boolean } = {}, )
src/directory.ts:503
↓ 7 callersMethodretryInitializeSync
* Synchronous last-resort init used by the per-session retry loop when the * background `ensureInitialized` already finished (or failed) and we nee
src/mcp/engine.ts:264
↓ 7 callersFunctionscopesWithin
Scopes visible from inside the scope `qualified`, innermost first, ending with the global scope.
src/resolution/cpp-type-aliases.ts:179
↓ 7 callersFunctionsliceLines
(content: string, startLine?: number, endLine?: number)
src/resolution/callback-synthesizer.ts:145
↓ 7 callersMethodtext
()
src/resolution/strip-comments.ts:256
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/kotlin.rs:406
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/csharp.rs:288
↓ 7 callersMethodtop_row
(&self)
codegraph-kernel/src/php.rs:283
↓ 7 callersMethodtruncateOutput
* Truncate output if it exceeds the maximum length
src/mcp/tools.ts:9179
↓ 7 callersFunctionunescaped
`Name` for an escaped `[Name]`.
src/resolution/vbnet-receivers.ts:1482
↓ 7 callersFunctionunitFilesOf
* The files one unit is made of: its own file, then the include files it * pulls in (`{$I name.inc}`, `{$INCLUDE name}`), nested ones too. For an *
src/resolution/pascal-scope.ts:2426
↓ 7 callersFunctionupsertCodegraphServer
( file: string, entry: Record<string, unknown>, alsoEdit: Edit = noEdit, )
src/installer/targets/json-config.ts:78
↓ 7 callersMethodvisibility_of
getVisibility: FIRST `modifier` child whose text is one of the four levels wins; none → public in an interface, internal in a namespace or the file, p
codegraph-kernel/src/csharp.rs:430
↓ 7 callersMethodvisit_node
(&mut self, node: Node<'t>)
codegraph-kernel/src/ccpp/mod.rs:1095
↓ 7 callersMethodwaitFor
Wait for an event of `type`, or give up. Never polls the server.
__tests__/ui-events-api.test.ts:149
↓ 7 callersFunctionwalk
(absDir: string)
src/extraction/index.ts:821
↓ 6 callersFunction__emitWatchEventForTests
(projectRoot: string, relPath: string)
src/sync/watcher.ts:1236
↓ 6 callersFunctionadvance_past_blanks
codegraph-kernel/grammars/scala/scanner.c:237
↓ 6 callersFunctionaliasedTypeIn
* What an alias of `name` declares in `text`, as written: `SkipList<const * char*, KeyComparator>` for `typedef SkipList<const char*, KeyComparator>
src/resolution/cpp-type-aliases.ts:245
↓ 6 callersMethodanswerResult
(cg: CodeGraph, text: string, paths: Iterable<string>)
src/mcp/tools.ts:2957
↓ 6 callersFunctionapplyAliases
( importPath: string, aliases: AliasMap, projectRoot: string )
src/resolution/path-aliases.ts:363
↓ 6 callersFunctionassertNoRebuild
(root: string)
src/mcp/writer-lock.ts:260
↓ 6 callersFunctionbindingsOf
* Per importer, what its statements naming the modules import: the modules * named whole (not the package around one), and the local names bound. An
src/resolution/module-importers.ts:854
↓ 6 callersFunctionblankCppAnnotationMacroCalls
(source: string, options: { keepCReturnTypes?: boolean } = {})
src/extraction/languages/c-cpp.ts:1312
↓ 6 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:3407
↓ 6 callersFunctionbytes_to_string
(bytes: &[u8])
codegraph-kernel/src/cfnptr.rs:1151
↓ 6 callersFunctioncanProbeDaemonIdentity
(info: DaemonLockInfo)
src/mcp/daemon-paths.ts:120
↓ 6 callersFunctioncanonicalProjectRoot
(projectRoot: string)
src/directory.ts:332
↓ 6 callersFunctionclamp
(value: number, min: number, max: number)
src/utils.ts:442
↓ 6 callersMethodclear
Drop everything. Used by tests; a real session just goes away instead.
src/mcp/explore-session-state.ts:279
↓ 6 callersFunctioncollapse
(text: string)
src/graph/branch-guards.ts:910
↓ 6 callersFunctioncollapseWs
(text: string)
src/extraction/languages/erlang.ts:41
↓ 6 callersFunctioncollect
(n: SyntaxNode)
src/graph/branch-guards.ts:2153
↓ 6 callersFunctionconstructor_trivia
codegraph-kernel/grammars/kotlin/scanner.c:653
↓ 6 callersFunctioncreateResolver
(projectRoot: string, queries: QueryBuilder)
src/resolution/index.ts:5299
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/lua.rs:201
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/go.rs:225
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/ruby.rs:278
↓ 6 callersMethodcreate_node
(&mut self, kind: &'static str, name: &str, node: Node<'t>, extra: Extra)
codegraph-kernel/src/scala.rs:295
↓ 6 callersFunctioncut
(text: string, max: number)
src/graph/branch-guards.ts:914
↓ 6 callersFunctiondbOf
(dir: string)
__tests__/read-commands-during-rebuild.test.ts:96
↓ 6 callersFunctiondescribeSynthesizedHop
(edge: Edge | null | undefined)
src/graph/synthesized-hop.ts:39
↓ 6 callersFunctiondraw
__tests__/fixtures/kernel-parity/torture.kt:236
↓ 6 callersFunctionescapeRe
(s: string)
src/resolution/event-emitter-synthesizer.ts:828
↓ 6 callersFunctionescapeRegExp
(s: string)
src/resolution/pascal-scope.ts:2626
↓ 6 callersFunctionexists
(relativePath: string)
src/extraction/grammars.ts:307
↓ 6 callersMethodextract
* Extract framework-specific nodes and references from a file. * * Returns route nodes, middleware nodes, etc., plus unresolved references *
src/resolution/types.ts:427
↓ 6 callersMethodextractTypeAnnotations
* Extract type references from type annotations on a function/method/field node. * Creates 'references' edges for parameter types, return types, an
src/extraction/tree-sitter.ts:8658
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/java.rs:478
↓ 6 callersMethodextract_name
extractName — nameField `name`, else the identifier-like child scan.
codegraph-kernel/src/rustlang.rs:356
↓ 6 callersMethodextract_name
(&self, node: Node)
codegraph-kernel/src/php.rs:413
↓ 6 callersFunctionfacts
(src: &str)
codegraph-kernel/src/cfnptr.rs:1279
↓ 6 callersFunctionfindAllSymbols
(cg: CodeGraph, symbol: string)
src/graph/named-symbol-flow.ts:53
← previousnext →401–500 of 13,347, ranked by callers