Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeGraphContext/CodeGraphContext
/ functions
Functions
4,532 in github.com/CodeGraphContext/CodeGraphContext
⨍
Functions
4,532
◇
Types & classes
871
↳
Endpoints
23
↓ 4 callers
Method
parse
Parses a C file and returns its structure.
src/codegraphcontext/tools/languages/c.py:143
↓ 4 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:152
↓ 4 callers
Method
register
(name: string, module: BaseModule)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:446
↓ 4 callers
Method
render
(explicitMode?: string)
extensions/vscode/src/views/controlPanel.ts:62
↓ 4 callers
Function
save_config
Save configuration to file. If preserve_db_credentials is True, existing database credentials will be preserved. If preserve_db_credentia
src/codegraphcontext/cli/config_manager.py:442
↓ 4 callers
Method
show
()
extensions/vscode/src/webview/dashboardPanel.ts:30
↓ 4 callers
Function
simple_type_name
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:336
↓ 4 callers
Function
unmarshalCaptures
(query, tree, address, patternIndex, result)
website/public/wasm/web-tree-sitter.js:1171
↓ 4 callers
Function
unmarshalRange
(address)
website/public/wasm/web-tree-sitter.js:1254
↓ 3 callers
Method
AsciiToString
(e)
website/public/wasm/tree-sitter-core.js:1
↓ 3 callers
Method
ToUpper
ToUpper converts to uppercase
tests/fixtures/sample_projects/sample_project_go/advanced_types.go:18
↓ 3 callers
Method
_assignment_name_nodes
(self, assignment: Any)
src/codegraphcontext/tools/languages/lua.py:59
↓ 3 callers
Function
_atomic_write_text
Write *content* to *path* atomically (temp file + replace).
src/codegraphcontext/cli/config_manager.py:56
↓ 3 callers
Method
_build_command
Build the CLI command for each supported SCIP indexer.
src/codegraphcontext/tools/scip_indexer.py:393
↓ 3 callers
Function
_default_db_path
Return the canonical DB path for a named context.
src/codegraphcontext/cli/config_manager.py:801
↓ 3 callers
Function
_default_global_db_path
Return the canonical DB path for the global context. New layout: ``~/.codegraphcontext/global/db/<backend>/`` For backward-compat, we check:
src/codegraphcontext/cli/config_manager.py:809
↓ 3 callers
Method
_extract_package_name
(source_code: str)
src/codegraphcontext/tools/languages/kotlin.py:61
↓ 3 callers
Function
_file_props
(name: str, file: Optional[str])
src/codegraphcontext/cli/visualizer.py:48
↓ 3 callers
Method
_find_csharp_project
Find the first .sln or .csproj file for scip-dotnet.
src/codegraphcontext/tools/scip_indexer.py:384
↓ 3 callers
Function
_fn_edges
(groups)
tests/unit/tools/test_python_call_resolution_patterns.py:44
↓ 3 callers
Function
_generate_mcp_json
Generates and prints the MCP JSON configuration.
src/codegraphcontext/cli/setup_wizard.py:96
↓ 3 callers
Method
_get_docstring
(self, body_node)
src/codegraphcontext/tools/languages/python.py:117
↓ 3 callers
Method
_get_docstring
Extract Go doc comment preceding the function.
src/codegraphcontext/tools/languages/go.py:166
↓ 3 callers
Function
_get_kuzu_db
Get KuzuDB manager, or return None if not available.
tests/test_issue_806_fix.py:54
↓ 3 callers
Method
_get_node_annotations
Return list of (name, args_text) for all annotations on a node's modifiers.
src/codegraphcontext/tools/languages/java.py:307
↓ 3 callers
Method
_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/java.py:273
↓ 3 callers
Method
_get_parent_context
(self, node, types=SIGNATURE_TYPES + CONTAINER_TYPES)
src/codegraphcontext/tools/languages/dart.py:98
↓ 3 callers
Method
_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/lua.py:189
↓ 3 callers
Method
_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/scala.py:142
↓ 3 callers
Method
_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/swift.py:130
↓ 3 callers
Method
_get_parent_context
(self, node, types=('function_declaration', 'class_declaration', 'function_expression', 'method_definition', '
src/codegraphcontext/tools/languages/javascript.py:131
↓ 3 callers
Method
_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/php.py:145
↓ 3 callers
Method
_get_parent_context
(self, node, types=('function_definition', 'class_specifier'))
src/codegraphcontext/tools/languages/cpp.py:516
↓ 3 callers
Function
_graph_builder
()
tests/unit/core/test_watcher_cgcignore.py:8
↓ 3 callers
Method
_infer_cxx_zero_kind
Infer SCIP SymbolKind when indexer reports 0 (scip-clang). Returns SCIP kind int.
src/codegraphcontext/tools/scip_indexer.py:735
↓ 3 callers
Method
_infer_receiver_type
( self, expression: str, context: Any, enclosing_class: Optional[str],
src/codegraphcontext/tools/languages/kotlin.py:457
↓ 3 callers
Function
_inventory_from_main_source
()
tests/integration/cli/test_cli_commands.py:32
↓ 3 callers
Function
_is_managed_hook
(path: Path)
src/codegraphcontext/cli/hook_manager.py:154
↓ 3 callers
Function
_levenshtein_distance
Levenshtein distance for short identifiers (typo-tolerant name search).
src/codegraphcontext/tools/code_finder.py:31
↓ 3 callers
Function
_load_gcf
Lazily load GCF encoder. Check once, cache the result.
src/codegraphcontext/utils/gcf_encoder.py:25
↓ 3 callers
Method
_lookup_scoped_declaration_type
( self, declarations: Optional[Dict[Tuple[str, Any], list[Tuple[Optional[int], Optional[str]]]
src/codegraphcontext/tools/languages/kotlin.py:221
↓ 3 callers
Function
_make_driver_with_execute_methods
()
tests/unit/tools/test_graph_writer_transactions.py:35
↓ 3 callers
Function
_make_finder
(recorder: Optional[Dict[str, Any]] = None)
tests/unit/tools/test_kuzu_relationship_queries.py:41
↓ 3 callers
Method
_make_wrapper
(self)
tests/unit/tools/test_falkordb_kuzu_session_kwargs.py:28
↓ 3 callers
Function
_new_kuzu_driver
(tmp_path: Path)
tests/unit/tools/test_kuzu_import_indexing.py:24
↓ 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
_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:239
↓ 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:566
↓ 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
_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_datasource_graph
Shared helper: write ingested datasource dict to the active graph.
src/codegraphcontext/cli/main.py:3143
↓ 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:444
↓ 3 callers
Function
build_elixir_implements_links
Create defimpl -> defprotocol IMPLEMENTS edges for Elixir modules.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:522
↓ 3 callers
Function
build_embeds_links
Create Go struct embedding EMBEDS edges.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:484
↓ 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:398
↓ 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
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
canonical_type
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:211
↓ 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
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:1221
↓ 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:1411
↓ 3 callers
Method
delete_file_from_graph
Remove a file node and all its relationships from the graph. Parameters ---------- path : str Absolute path of th
src/codegraphcontext/tools/graph_builder.py:861
↓ 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:941
↓ 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:871
↓ 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:53
↓ 3 callers
Function
execute_cypher_query
Tool implementation for executing a read-only Cypher query. Write protection uses keyword validation on every backend. Neo4j sessions al
src/codegraphcontext/tools/handlers/query_handlers.py:15
↓ 3 callers
Function
expression_type_hint
(arg: str)
src/codegraphcontext/tools/indexing/resolution/calls.py:360
↓ 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:35
↓ 3 callers
Method
find_by_variable_name
Find variables by name matching
src/codegraphcontext/tools/code_finder.py:329
↓ 3 callers
Function
function_scope
(function: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:2190
↓ 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_cypher_query
(self, query: str)
src/codegraphcontext/tools/query_tool_languages/c_toolkit.py:5
↓ 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:93
↓ 3 callers
Method
import_from_bundle
Import a .cgc bundle into the current database. Args: bundle_path: Path to the .cgc file clear_exist
src/codegraphcontext/core/cgc_bundle.py:209
← previous
next →
301–400 of 4,532, ranked by callers