Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeGraphContext/CodeGraphContext
/ functions
Functions
4,949 in github.com/CodeGraphContext/CodeGraphContext
⨍
Functions
4,949
◇
Types & classes
906
↳
Endpoints
28
↓ 2 callers
Function
getCacheKey
(ref: RepoRef)
website/src/lib/repo-provider.ts:131
↓ 2 callers
Method
getComplexityHotspots
(limit = 10)
extensions/vscode/src/mcp/service.ts:45
↓ 2 callers
Function
getJsdelivrMetaUrl
(ref: RepoRef, branch: string)
website/src/lib/repo-provider.ts:236
↓ 2 callers
Method
getName
()
tests/fixtures/sample_projects/sample_project_java/src/com/example/app/model/User.java:11
↓ 2 callers
Function
getRateLimitConfig
()
website/api/lib/security.js:15
↓ 2 callers
Function
getString
()
website/public/wasm/web-tree-sitter.js:1913
↓ 2 callers
Function
get_configured_api_key
Return the configured API key, or ``None`` when auth is disabled. Resolution order (highest priority first): 1. The ``CGC_API_KEY`` environm
src/codegraphcontext/api/auth.py:32
↓ 2 callers
Method
get_cyclomatic_complexity
(self, function_name: str, path: Optional[str] = None, repo_path: Optional[str] = None, graph_name: str = None
src/codegraphcontext/tools/code_finder.py:1350
↓ 2 callers
Method
get_driver
(self, graph_name=None)
tests/unit/tools/test_kuzu_import_indexing.py:17
↓ 2 callers
Method
get_growth_trend
Parses git log shortstat to show growth over commits.
src/codegraphcontext/core/simulator.py:549
↓ 2 callers
Function
get_local_package_path
(package_name: str, language: str)
src/codegraphcontext/tools/package_resolver.py:249
↓ 2 callers
Method
get_maintainability_score
Computes a composite architectural maintainability score from 0 to 100.
src/codegraphcontext/core/simulator.py:371
↓ 2 callers
Method
get_missing_credentials
(uri: Optional[str], username: Optional[str], password: Optional[str])
src/codegraphcontext/core/database.py:198
↓ 2 callers
Function
get_project_config_dir
Get the .cgc directory path for the project.
src/codegraphcontext/cli/project_config.py:25
↓ 2 callers
Function
get_project_config_file
Get the config.json file path within .cgc directory.
src/codegraphcontext/cli/project_config.py:32
↓ 2 callers
Method
get_repo_class_lookup
Get a mapping of file paths to their defined class names. Parameters ---------- repo_path : Path Path to the repo
src/codegraphcontext/tools/graph_builder.py:968
↓ 2 callers
Function
get_repo_commit_hash
Return the full HEAD commit SHA for *repo_path*, or ``None`` if the path is not inside a git working tree or the ``git`` binary is unavailable.
src/codegraphcontext/utils/git_utils.py:11
↓ 2 callers
Method
get_repo_file_paths
Get all file paths indexed for a repository. Parameters ---------- repo_path : Path Path to the repository root.
src/codegraphcontext/tools/graph_builder.py:918
↓ 2 callers
Function
get_server
()
src/codegraphcontext/api/router.py:27
↓ 2 callers
Function
handle_sse
Entry point for the SSE connection.
src/codegraphcontext/api/mcp_sse.py:80
↓ 2 callers
Function
handler
(req: any, res: any)
website/api/pypi.ts:17
↓ 2 callers
Function
hasProperty
( obj: unknown, prop: K )
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:125
↓ 2 callers
Function
init
()
website/public/wasm/web-tree-sitter.js:2037
↓ 2 callers
Method
init
* This must always be called before creating a Parser. * * You can optionally pass in options to configure the Wasm module, the most common *
website/public/wasm/web-tree-sitter.js:3172
↓ 2 callers
Function
initParser
()
website/src/lib/parser.worker.ts:37
↓ 2 callers
Function
initRuntime
()
website/public/wasm/web-tree-sitter.js:1676
↓ 2 callers
Method
initialize
()
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:450
↓ 2 callers
Method
initializeContext
(explicitMode?: string)
extensions/vscode/src/mcp/contextManager.ts:15
↓ 2 callers
Method
internalNotify
(proc: ChildProcessWithoutNullStreams, method: string, params: Record<string, unknown>)
extensions/vscode/src/mcp/client.ts:206
↓ 2 callers
Method
internalRequest
(proc: ChildProcessWithoutNullStreams, method: string, params: Record<string, unknown>)
extensions/vscode/src/mcp/client.ts:180
↓ 2 callers
Method
introduce
()
tests/fixtures/sample_projects/sample_project_typescript/src/classes-inheritance.ts:37
↓ 2 callers
Function
isErr
(result: Result<T, E>)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:82
↓ 2 callers
Function
isNumber
(value: unknown)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:113
↓ 2 callers
Function
isString
(value: unknown)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:109
↓ 2 callers
Method
isTunnelHealthy
()
website/src/lib/kuzu-coordinator.ts:48
↓ 2 callers
Function
is_falkordb_usable
True when FalkorDB Lite is available on this system.
src/codegraphcontext/core/__init__.py:100
↓ 2 callers
Method
iter_content
(self, chunk_size=8192)
tests/unit/cli/test_registry_command.py:92
↓ 2 callers
Function
jaccard_similarity
(a: Set[str], b: Set[str])
scripts/compare_backend_snapshots.py:66
↓ 2 callers
Method
listCallees
(target: string, filePath?: string, depth = 1)
extensions/vscode/src/mcp/service.ts:105
↓ 2 callers
Method
listRepositories
()
extensions/vscode/src/mcp/service.ts:214
↓ 2 callers
Method
list_graphs
Return names of all graphs in this FalkorDB instance.
src/codegraphcontext/core/database_falkordb.py:428
↓ 2 callers
Method
list_watched_paths
(self)
src/codegraphcontext/core/watcher.py:443
↓ 2 callers
Function
loadModule
()
website/public/wasm/web-tree-sitter.js:2269
↓ 2 callers
Function
local_type_values
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:2232
↓ 2 callers
Function
lower_camel_type_name
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:355
↓ 2 callers
Method
magnitude
(self)
tests/fixtures/sample_projects/sample_project/advanced_classes2.py:23
↓ 2 callers
Function
mark_falkordb_unavailable
Compatibility hook; startup failures are scoped by FalkorDBManager.
src/codegraphcontext/core/__init__.py:96
↓ 2 callers
Function
marshalEdit
(edit, address = TRANSFER_BUFFER)
website/public/wasm/web-tree-sitter.js:1266
↓ 2 callers
Function
marshalRange
(address, range)
website/public/wasm/web-tree-sitter.js:1243
↓ 2 callers
Function
memoize
(fn: T)
tests/fixtures/sample_projects/sample_project_typescript/src/functions-generics.ts:150
↓ 2 callers
Method
move
(distance: number)
tests/fixtures/sample_projects/sample_project_typescript/src/classes-inheritance.ts:155
↓ 2 callers
Method
multiply
(a, b)
tests/fixtures/sample_projects/sample_project_javascript/classes.js:130
↓ 2 callers
Function
name_from_symbol
(symbol: str)
src/codegraphcontext/tools/indexing/scip_pipeline.py:24
↓ 2 callers
Method
namedChild
(e)
website/public/wasm/tree-sitter-core.js:1
↓ 2 callers
Method
namedChild
* Get this node's *named* child at the given index. * * See also {@link Node#isNamed}. * This method is fairly fast, but its cost is technica
website/public/wasm/web-tree-sitter.js:786
↓ 2 callers
Method
next
(&mut self)
tests/fixtures/sample_projects/sample_project_rust/src/lifetimes_references.rs:184
↓ 2 callers
Method
next
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/structs_enums.rs:194
↓ 2 callers
Method
off
(type: CgcEventType, listener: Listener)
extensions/vscode/src/mcp/eventBus.ts:20
↓ 2 callers
Method
on_moved
(self, event)
src/codegraphcontext/core/watcher.py:361
↓ 2 callers
Method
parse
Parses a Dart file and returns its structure in a standardized dictionary format.
src/codegraphcontext/tools/languages/dart.py:254
↓ 2 callers
Method
parse
Parses a Ruby file and returns its structure.
src/codegraphcontext/tools/languages/ruby.py:193
↓ 2 callers
Method
parse
Parses a Rust file and returns its structure.
src/codegraphcontext/tools/languages/rust.py:48
↓ 2 callers
Method
parse
Parses a Perl file and returns its structure in a standardized dictionary format.
src/codegraphcontext/tools/languages/perl.py:106
↓ 2 callers
Method
parse
(self, path: Path, is_dependency: bool = False, index_source: bool = False)
src/codegraphcontext/tools/languages/php.py:78
↓ 2 callers
Method
parse
(self, path: Path, is_dependency: bool = False, index_source: bool = False)
src/codegraphcontext/tools/languages/kotlin.py:65
↓ 2 callers
Method
parse
Parses a C++ file and returns its structure.
src/codegraphcontext/tools/languages/cpp.py:141
↓ 2 callers
Function
parseFilesIntoGraph
( files: { path: string, content: string }[], onProgressTracker?: (progressMsg: string, percentage: numbe
website/src/lib/parser.ts:7
↓ 2 callers
Function
parsePositiveInt
(rawValue, fallback)
website/api/lib/security.js:10
↓ 2 callers
Method
ping
()
tests/fixtures/sample_projects/sample_project_typescript/src/tough_cases.ts:15
↓ 2 callers
Function
postInstantiation
(module, instance)
website/public/wasm/web-tree-sitter.js:2325
↓ 2 callers
Function
postRun
()
website/public/wasm/web-tree-sitter.js:1686
↓ 2 callers
Function
preMain
()
website/public/wasm/web-tree-sitter.js:1683
↓ 2 callers
Function
preRun
()
website/public/wasm/web-tree-sitter.js:1666
↓ 2 callers
Function
pre_scan_sfc
Pre-scan SFC files, mapping top-level script symbol names to file paths. Mirrors the language pre-scan contract used by the indexing pipeline so
src/codegraphcontext/tools/languages/sfc_common.py:223
↓ 2 callers
Function
print_metrics
Prints the metrics summary in a rich formatted table.
src/codegraphcontext/cli/simulator.py:31
↓ 2 callers
Method
process
(String input)
tests/fixtures/sample_projects/sample_project_java/src/com/example/app/ToughCases.java:39
↓ 2 callers
Function
processFiles
(files: { path: string, content: string }[], repoName: string = "local-project")
website/src/components/LocalUploader.tsx:208
↓ 2 callers
Function
publishCgcBundle
( blob: Blob, repoName: string, version: string )
website/src/lib/cgc-exporter.ts:117
↓ 2 callers
Method
raise_for_status
(self)
tests/unit/cli/test_registry_command.py:89
↓ 2 callers
Function
receiveInstance
(instance2, module2)
website/public/wasm/web-tree-sitter.js:1773
↓ 2 callers
Function
record_local_variable_declaration
( name: Optional[str], context: Any, line_number: Optional[int],
src/codegraphcontext/tools/indexing/resolution/calls.py:2240
↓ 2 callers
Method
refresh
()
extensions/vscode/src/views/controlPanel.ts:57
↓ 2 callers
Function
refreshDiagnostics
(doc?: vscode.TextDocument)
extensions/vscode/src/extension.ts:103
↓ 2 callers
Function
reindex_helper
Force re-index by deleting and rebuilding the repository.
src/codegraphcontext/cli/cli_helpers.py:860
↓ 2 callers
Function
renderDashboardHtml
(payload: DashboardPayload)
extensions/vscode/src/webview/dashboardTemplate.ts:9
↓ 2 callers
Function
resolveGraph
(targetRepo: string)
website/src/pages/Explore.tsx:488
↓ 2 callers
Function
resolveSymbol
(sym)
website/public/wasm/web-tree-sitter.js:2284
↓ 2 callers
Method
resolve_bulk
Resolve a list of calls; returns {call_index: resolved_path}.
src/codegraphcontext/tools/indexing/vector_resolver.py:137
↓ 2 callers
Function
resolve_node_id
Helper to get a unique identifier for a node based on its properties.
src/codegraphcontext/core/simulator.py:9
↓ 2 callers
Function
resolve_solidity_import_path
Return ``(effective_source, resolved_filesystem_path_or_none)``. Relative imports resolve against the importer directory. Remapped / bare imp
src/codegraphcontext/tools/languages/solidity_remappings.py:112
↓ 2 callers
Function
run
(args2 = arguments_)
website/public/wasm/web-tree-sitter.js:3088
↓ 2 callers
Method
run
Runs the main server loop, listening for JSON-RPC requests from stdin.
src/codegraphcontext/server.py:754
↓ 2 callers
Method
runCypher
(cypherQuery: string)
extensions/vscode/src/mcp/service.ts:360
↓ 2 callers
Method
run_cgc
Helper to run cgc cli.
tests/e2e/test_user_journeys.py:22
↓ 2 callers
Function
run_inheritance_reresolve
Re-resolve low-confidence CALLS / HEURISTIC_CALLS edges using INHERITS graph + optional embeddings. Returns the number of edges that were improve
src/codegraphcontext/tools/indexing/resolution/post_resolution.py:38
↓ 2 callers
Function
run_worker
()
src/codegraphcontext/core/falkor_worker.py:44
↓ 2 callers
Function
safe_walk
Recursively find files under path while: 1. Pruning directories early if they match ignore_dirs or spec (avoiding walking into ignored directories
src/codegraphcontext/tools/indexing/discovery.py:25
↓ 2 callers
Function
sanitize_props
Return a copy of *props* with values coerced to database-safe types. FalkorDB and KùzuDB only accept node properties that are primitives (str
src/codegraphcontext/tools/indexing/sanitize.py:11
↓ 2 callers
Function
save_project_config
Save project configuration to .cgc/config.json.
src/codegraphcontext/cli/project_config.py:69
↓ 2 callers
Function
score_by_argument_types
( candidates: List[Dict[str, Any]] )
src/codegraphcontext/tools/indexing/resolution/calls.py:511
← previous
next →
701–800 of 4,949, ranked by callers