Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeGraphContext/CodeGraphContext
/ functions
Functions
5,033 in github.com/CodeGraphContext/CodeGraphContext
⨍
Functions
5,033
◇
Types & classes
912
↳
Endpoints
28
↓ 3 callers
Function
_print_call_resolution_diagnostics
(graph_builder: GraphBuilder, limit: int = 5)
src/codegraphcontext/cli/cli_helpers.py:64
↓ 3 callers
Function
_print_index_execution_summary
(graph_builder: GraphBuilder)
src/codegraphcontext/cli/cli_helpers.py:97
↓ 3 callers
Function
_resolve_file
(parser, relative_path: str)
tests/unit/tools/test_python_call_resolution_patterns.py:30
↓ 3 callers
Function
_resolve_hf_registry_repo
Return the configured HF dataset repo, rejecting anything not `owner/name`.
src/codegraphcontext/core/bundle_registry.py:47
↓ 3 callers
Function
_run_git
Run a git command, translating a missing/failed git into HookError. Callers only handle ``HookError``; without this a missing ``git`` binary
src/codegraphcontext/cli/hook_manager.py:205
↓ 3 callers
Function
_run_handler
(cypher_query, recorder)
tests/unit/tools/test_cypher_query_readonly.py:71
↓ 3 callers
Function
_run_index_with_progress
Internal helper to run indexing with a Live progress bar.
src/codegraphcontext/cli/cli_helpers.py:242
↓ 3 callers
Method
_run_kuzu_block
(self, cgc_val, pipx_val, python_val="/usr/bin/python3")
tests/unit/test_pipx_runner_support.py:170
↓ 3 callers
Method
_sanitize_value
Recursively coerce Python types that KuzuDB cannot bind (tuples, sets, etc.).
src/codegraphcontext/core/database_embedded_kuzu.py:598
↓ 3 callers
Function
_services
()
tests/unit/cli/test_delete_and_flag_conventions.py:30
↓ 3 callers
Function
_services
(tmp_path)
tests/unit/cli/test_index_exit_codes.py:14
↓ 3 callers
Function
_services
()
tests/unit/cli/test_query_exception_propagation.py:10
↓ 3 callers
Function
_set_home_env
Set HOME (and USERPROFILE on Windows) so os.path.expanduser('~') resolves to tmp_path.
tests/unit/cli/test_tilde_path_normalization.py:9
↓ 3 callers
Method
_should_ignore
(self, path: str | Path)
src/codegraphcontext/core/watcher.py:85
↓ 3 callers
Method
_stopSpin
()
extensions/vscode/src/views/statusBarItem.ts:113
↓ 3 callers
Method
_string_value
(self, node: Optional[Any])
src/codegraphcontext/tools/languages/elisp.py:218
↓ 3 callers
Function
_write_bundle
(tmp_path: Path, nodes, edges)
tests/unit/core/test_bundle_identifier_validation.py:100
↓ 3 callers
Function
_write_datasource_graph
Shared helper: write ingested datasource dict to the active graph.
src/codegraphcontext/cli/main.py:3342
↓ 3 callers
Method
acquire
()
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:277
↓ 3 callers
Method
add
(task: () => Promise<R>)
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:193
↓ 3 callers
Function
addNode
(name: string, type: string, file: string, val: number, extraProps: any = {})
website/src/lib/parser.worker.ts:720
↓ 3 callers
Function
build_companion_of_links
Link Kotlin companion objects to their enclosing class.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:458
↓ 3 callers
Function
build_elixir_implements_links
Create defimpl -> defprotocol IMPLEMENTS edges for Elixir modules.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:536
↓ 3 callers
Function
build_embeds_links
Create Go struct embedding EMBEDS edges.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:498
↓ 3 callers
Function
build_go_implements_links
Infer Go struct->interface IMPLEMENTS edges from method sets.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:136
↓ 3 callers
Function
build_haskell_implements_links
Create typeclass instance IMPLEMENTS edges (data type -> typeclass).
src/codegraphcontext/tools/indexing/resolution/inheritance.py:191
↓ 3 callers
Function
build_metaclass_links
Build METACLASS rows from Python class metaclass= specifications.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:405
↓ 3 callers
Function
build_part_of_links
Link Dart library part files to their library root file.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:265
↓ 3 callers
Function
build_partial_of_links
Link C# partial class declarations across files.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:219
↓ 3 callers
Method
calculate_cohesion
Computes cohesion metrics per service.
src/codegraphcontext/core/simulator.py:263
↓ 3 callers
Method
calculate_coupling
Computes Afferent/Efferent coupling and instability per service.
src/codegraphcontext/core/simulator.py:216
↓ 3 callers
Method
call
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/structs_enums.rs:204
↓ 3 callers
Method
callTool
(name: string, args: Record<string, unknown>)
extensions/vscode/src/mcp/client.ts:97
↓ 3 callers
Function
call_llm
(system_prompt: str, user_prompt: str)
src/codegraphcontext/viz/server.py:351
↓ 3 callers
Function
canonical_type
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:212
↓ 3 callers
Method
chunk
(size: number)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:189
↓ 3 callers
Function
cleanupExpiredEntries
(now = Date.now())
website/api/lib/security.js:43
↓ 3 callers
Method
click
tests/fixtures/sample_projects/sample_project_kotlin/AdvancedClasses.kt:49
↓ 3 callers
Method
close
Proxy method to close the underlying driver.
src/codegraphcontext/core/database_nornic.py:28
↓ 3 callers
Method
compare_scenarios
Compares this (baseline) twin against another (simulated) twin.
src/codegraphcontext/core/simulator.py:440
↓ 3 callers
Function
cypher_path_not_under_ignore_dirs
Returns a Cypher fragment that keeps only paths not under any IGNORE_DIRS segment (Unix `/name/` or Windows `\\name\\`).
src/codegraphcontext/utils/path_ignore.py:24
↓ 3 callers
Method
data_raw
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1267
↓ 3 callers
Function
ddl_kind
Return ``'index'``, ``'constraint'``, ``'fulltext'`` or ``None``.
src/codegraphcontext/utils/cypher_ddl.py:68
↓ 3 callers
Function
delete
Deletes a repository from the code graph. Use --all to delete all repositories at once (requires confirmation). Examples:
src/codegraphcontext/cli/main.py:1559
↓ 3 callers
Method
delete_inherits_for_files
Remove INHERITS relationships for the specified files. Parameters ---------- file_paths : list List of absolute f
src/codegraphcontext/tools/graph_builder.py:958
↓ 3 callers
Method
delete_repository_from_graph
Remove a repository node and all its contents from the graph. Parameters ---------- repo_path : str Absolute path
src/codegraphcontext/tools/graph_builder.py:882
↓ 3 callers
Function
download_bundle
Download a bundle from the registry. Supports both full names (e.g., 'python-bitcoin-utils-main-61d1969') and base names (e.g., 'pyt
src/codegraphcontext/cli/registry_commands.py:195
↓ 3 callers
Function
edge_color
Return the hex colour string for a given relationship type.
src/codegraphcontext/utils/visualize_graph.py:54
↓ 3 callers
Method
estimate_processing_time
Estimate the time required to index a repository. Parameters ---------- path : Path Path to the repository root.
src/codegraphcontext/tools/graph_builder.py:1094
↓ 3 callers
Function
expression_type_hint
(arg: str)
src/codegraphcontext/tools/indexing/resolution/calls.py:361
↓ 3 callers
Function
fetch_available_bundles
Fetch all available bundles from the Hugging Face registry (delegates to core BundleRegistry).
src/codegraphcontext/cli/registry_commands.py:21
↓ 3 callers
Method
fetch_available_bundles
Fetch all available bundles from the Hugging Face raw dataset registry manifest. Returns a list of bundle dictionaries with metadata.
src/codegraphcontext/core/bundle_registry.py:74
↓ 3 callers
Method
find_by_variable_name
Find variables by name matching
src/codegraphcontext/tools/code_finder.py:350
↓ 3 callers
Method
find_strongly_connected_components
Identifies circular dependencies using Tarjan's SCC algorithm.
src/codegraphcontext/core/simulator.py:311
↓ 3 callers
Function
function_scope
(function: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:2194
↓ 3 callers
Function
getAuthHeaders
(ref: RepoRef)
website/src/lib/repo-provider.ts:143
↓ 3 callers
Method
getComplexity
(functionName: string, filePath?: string)
extensions/vscode/src/mcp/service.ts:36
↓ 3 callers
Method
getInfo
()
tests/fixtures/sample_projects/sample_project_typescript/src/decorators-metadata.ts:358
↓ 3 callers
Function
getLEB
()
website/public/wasm/web-tree-sitter.js:1901
↓ 3 callers
Function
getOrCreateSessionId
()
website/src/lib/utils.ts:8
↓ 3 callers
Function
getRepoProtectionConfig
()
website/api/lib/security.js:22
↓ 3 callers
Function
getSupabaseClient
()
website/src/lib/supabase-client.ts:10
↓ 3 callers
Method
getText
(e,t,r)
website/public/wasm/tree-sitter-core.js:1
↓ 3 callers
Method
get_driver
Gets the FalkorDB connection, starting the subprocess if necessary. This method is thread-safe. Supports multiple graphs by name.
src/codegraphcontext/core/database_falkordb.py:164
↓ 3 callers
Function
get_version
Try to read version from the installed package metadata. Fallback to a dev version if not installed.
src/codegraphcontext/cli/main.py:96
↓ 3 callers
Method
import_from_bundle
( self, bundle_path: Path, clear_existing: bool = False, readonly: bool = Fals
src/codegraphcontext/core/cgc_bundle.py:236
↓ 3 callers
Method
increment
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/concurrency.rs:85
↓ 3 callers
Method
indexWorkspace
(path: string)
extensions/vscode/src/mcp/service.ts:275
↓ 3 callers
Function
isOk
(result: Result<T, E>)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:78
↓ 3 callers
Method
is_connected
Checks if the database connection is currently active.
src/codegraphcontext/core/database_falkordb_remote.py:143
↓ 3 callers
Function
is_db_deletion_allowed
True when destructive delete/clear operations are permitted.
src/codegraphcontext/cli/config_manager.py:650
↓ 3 callers
Function
is_safe_download_url
True when *url* uses HTTPS and points to an allowed registry host.
src/codegraphcontext/utils/path_sandbox.py:72
↓ 3 callers
Function
is_schema_ddl
True when *query* is a schema statement rather than a data query.
src/codegraphcontext/utils/cypher_ddl.py:60
↓ 3 callers
Method
lengthBytesUTF8
(e)
website/public/wasm/tree-sitter-core.js:1
↓ 3 callers
Method
list_jobs
Returns a list of all jobs currently in the manager.
src/codegraphcontext/core/jobs.py:102
↓ 3 callers
Function
loadDynamicLibrary
(libName2, flags2 = { global: true, nodelete: true }, localScope2, handle2)
website/public/wasm/web-tree-sitter.js:2447
↓ 3 callers
Function
load_project_config
Load project configuration from .cgc/config.json. Returns an empty config structure if file doesn't exist.
src/codegraphcontext/cli/project_config.py:44
↓ 3 callers
Function
load_solidity_remappings
Load remappings: foundry.toml first, then remappings.txt overrides.
src/codegraphcontext/tools/languages/solidity_remappings.py:65
↓ 3 callers
Function
lookup_local_variable_type
( name: Optional[str], context: Any, line_number: Optional[int] = None,
src/codegraphcontext/tools/indexing/resolution/calls.py:2447
↓ 3 callers
Function
make_hashable
(val)
tests/integration/test_parser_goldens.py:84
↓ 3 callers
Function
node_color
Return the hex colour string for a given node label.
src/codegraphcontext/utils/visualize_graph.py:49
↓ 3 callers
Function
normalize_config_path
Normalize config path values. - Expands ``~`` and environment variables. - Optionally resolves to an absolute path.
src/codegraphcontext/cli/config_manager.py:303
↓ 3 callers
Function
normalize_full_type
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:1784
↓ 3 callers
Function
normalize_json
Normalize JSON recursively while ignoring ordering differences. - dict keys are sorted by name - lists are normalized and then sorted by cano
scripts/compare_backend_snapshots.py:41
↓ 3 callers
Function
normalize_labels
(labels)
tests/integration/test_parser_goldens.py:22
↓ 3 callers
Function
onFileClick
(path: string | null, targetLine?: number)
website/src/components/PRReviewer.tsx:1249
↓ 3 callers
Function
onFileClick
(path: string | null, targetLine?: number)
website/src/components/CodeGraphViewer.tsx:1189
↓ 3 callers
Method
parse
(self, path: Path, is_dependency: bool = False, index_source: bool = False)
src/codegraphcontext/tools/languages/typescript.py:179
↓ 3 callers
Method
parse
(self, path: Path, is_dependency: bool = False, index_source: bool = False)
src/codegraphcontext/tools/languages/lua.py:198
↓ 3 callers
Method
parse
Parses a file and returns its structure in a standardized dictionary format.
src/codegraphcontext/tools/languages/python.py:127
↓ 3 callers
Method
parse
Parses a file and returns its structure in a standardized dictionary format.
src/codegraphcontext/tools/languages/go.py:199
↓ 3 callers
Method
parse
Parses an Elixir file and returns its structure.
src/codegraphcontext/tools/languages/elixir.py:210
↓ 3 callers
Function
parse_cgcignore_lines
Return valid ignore patterns from raw .cgcignore lines. Valid patterns are non-empty lines that do not start with '#'.
src/codegraphcontext/core/cgcignore.py:18
↓ 3 callers
Function
parse_remapping_line
(line: str)
src/codegraphcontext/tools/languages/solidity_remappings.py:19
↓ 3 callers
Function
parse_sfc
Parse a Vue/Svelte SFC and return symbols extracted from its scripts. Parameters ---------- parser_wrapper: The ``TreeSitterParse
src/codegraphcontext/tools/languages/sfc_common.py:159
↓ 3 callers
Method
pre_scan_imports
Build global imports map from language pre-scans. Public API for watchers and the indexing pipeline. Parameters ----------
src/codegraphcontext/tools/graph_builder.py:167
↓ 3 callers
Method
release
()
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:288
↓ 3 callers
Function
repo_record_matches_path
True if *repo* has a resolvable path equal to *path_obj* (resolved).
src/codegraphcontext/utils/repo_path.py:16
↓ 3 callers
Method
request
(method: string, params: Record<string, unknown>)
extensions/vscode/src/mcp/client.ts:151
↓ 3 callers
Function
resolve_context
Determine which context / DB to use. Resolution order (highest priority first): 1. --context <name> CLI flag 2. Local .codegrap
src/codegraphcontext/cli/config_manager.py:995
← previous
next →
401–500 of 5,033, ranked by callers