MCPcopy Create free account

hub / github.com/CodeGraphContext/CodeGraphContext / functions

Functions5,033 in github.com/CodeGraphContext/CodeGraphContext

↓ 7 callersFunctionvalidate_config_value
Validate a configuration value. Returns (is_valid, error_message)
src/codegraphcontext/cli/config_manager.py:536
↓ 7 callersMethodwrite_function_call_groups
( self, fn_to_fn: List[Dict] = None, fn_to_class: List[Dict] = None, fn_to_int
src/codegraphcontext/tools/indexing/persistence/writer.py:692
↓ 6 callersFunction_build_text
Construct the text to embed for a Function node.
src/codegraphcontext/tools/indexing/embeddings.py:67
↓ 6 callersFunction_bundle
()
tests/unit/core/test_bundle_identifier_validation.py:41
↓ 6 callersMethod_call_target_without_value_args
(self, expression: str)
src/codegraphcontext/tools/languages/kotlin.py:650
↓ 6 callersMethod_debounce
(self, event_path, action)
src/codegraphcontext/core/watcher.py:193
↓ 6 callersMethod_enclosing_type_name
(self, node: Any)
src/codegraphcontext/tools/languages/solidity.py:147
↓ 6 callersMethod_get_node_text
(self, node)
src/codegraphcontext/tools/languages/perl.py:57
↓ 6 callersMethod_get_parent_context
Get parent context for nested constructs.
src/codegraphcontext/tools/languages/c.py:191
↓ 6 callersMethod_import_edge_batch
Import a batch of edges.
src/codegraphcontext/core/cgc_bundle.py:1121
↓ 6 callersFunction_init_repo
(path)
tests/unit/cli/test_hook_manager.py:17
↓ 6 callersMethod_patch_embedder
Inject a mock embedder that returns a fixed vector.
tests/unit/tools/test_embeddings_and_vector_resolver.py:250
↓ 6 callersMethod_run
(self, query: str, **params)
src/codegraphcontext/tools/query_tool_languages/java_toolkit.py:35
↓ 6 callersMethod_run
(self, all_file_data, imports_map=None, file_class_lookup=None, skip_external_env="false")
tests/unit/tools/test_graph_builder_perf_fixes.py:236
↓ 6 callersFunction_save_neo4j_credentials
Save Neo4j credentials to .env file (database setup only). Does NOT generate MCP config or configure IDE.
src/codegraphcontext/cli/setup_wizard.py:32
↓ 6 callersMethodadd_file_to_graph
( self, file_data: Dict[str, Any], repo_name: str, imports_map: dict,
src/codegraphcontext/tools/indexing/persistence/writer.py:205
↓ 6 callersMethodchild
* Get the node's child at the given index, where zero represents the first child. * * This method is fairly fast, but its cost is technically lo
website/public/wasm/web-tree-sitter.js:773
↓ 6 callersMethodcreate_job
Creates a new job, assigns it a unique ID, and stores it.
src/codegraphcontext/core/jobs.py:75
↓ 6 callersFunctionexecute_cypher_query
Tool implementation for executing a read-only Cypher query. Write protection is layered: the regex guard rejects write keywords on every
src/codegraphcontext/tools/handlers/query_handlers.py:15
↓ 6 callersFunctionget_repo_branch_name
Return the active git branch name for *repo_path*, or ``None``.
src/codegraphcontext/utils/git_utils.py:29
↓ 6 callersFunctionget_tool_result_limit
Return the configured result-count limit for *tool_name*. Resolution order ---------------- 1. ``TOOL_RESULT_LIMITS`` JSON entry for *too
src/codegraphcontext/utils/tool_limits.py:50
↓ 6 callersMethodhandle_tool_call
Routes a tool call from the AI assistant to the appropriate handler function.
src/codegraphcontext/server.py:682
↓ 6 callersMethodinfo
()
tests/fixtures/sample_projects/sample_project_javascript/classes.js:29
↓ 6 callersFunctioninstall_hooks
(start: Path | str | None = None, *, force: bool = False)
src/codegraphcontext/cli/hook_manager.py:61
↓ 6 callersMethodis_connected
Checks if the database connection is currently active.
src/codegraphcontext/core/database.py:174
↓ 6 callersFunctionread_only_rejection_message
()
src/codegraphcontext/utils/cypher_readonly.py:87
↓ 6 callersMethodrefresh
()
extensions/vscode/src/webview/dashboardPanel.ts:103
↓ 6 callersFunctionrun
Run command and return output
tests/unit/core/test_cgcignore_patterns.py:41
↓ 6 callersFunctionrun_command
Runs a command, captures its output, and handles execution. Returns the completed process object on success, None on failure.
src/codegraphcontext/cli/setup_wizard.py:537
↓ 6 callersFunctionrun_scip_index_async
Run SCIP CLI, write graph, supplement with Tree-sitter, write SCIP CALLS edges.
src/codegraphcontext/tools/indexing/scip_pipeline.py:34
↓ 6 callersFunctionrun_test
(name, func)
tests/unit/tools/test_graph_writer_transactions.py:20
↓ 6 callersFunctionsave_context_config
Persist ContextConfig to ~/.codegraphcontext/config.yaml.
src/codegraphcontext/cli/config_manager.py:924
↓ 6 callersMethodstart
(user)
tests/fixtures/sample_projects/sample_project_ruby/session.rb:18
↓ 6 callersMethodtest_connection
Tests the Neo4j database connection. Returns: Tuple[bool, Optional[str]]: (is_connected, error_message)
src/codegraphcontext/core/database.py:292
↓ 6 callersMethodwait
(self)
tests/unit/core/test_watcher_startup_sync.py:127
↓ 5 callersFunction_check_write_access
(path: Path)
src/codegraphcontext/cli/setup_wizard.py:18
↓ 5 callersFunction_fresh_kuzu_manager
(db_path: Path)
tests/unit/core/test_database_kuzu_kotlin_metadata.py:12
↓ 5 callersMethod_imports
(self, parser, tmp_path, code)
tests/unit/parsers/test_php_parser.py:25
↓ 5 callersMethod_iter_nodes
(self, node: Any)
src/codegraphcontext/tools/languages/lua.py:30
↓ 5 callersFunction_limit_source_label
Human-readable description of which config key produced *effective*.
src/codegraphcontext/server.py:106
↓ 5 callersMethod_make_graph_builder_stub
Build a minimal GraphBuilder stub with the real update_file_in_graph method.
tests/unit/tools/test_falkordb_schema_and_watcher_fixes.py:125
↓ 5 callersMethod_make_pipeline
(self, session)
tests/unit/tools/test_embeddings_and_vector_resolver.py:75
↓ 5 callersMethod_run_schema
(self, backend_type: str)
tests/unit/tools/test_falkordb_schema_and_watcher_fixes.py:64
↓ 5 callersFunction_should_log
Check if a message at the given level should be logged
src/codegraphcontext/utils/debug_log.py:33
↓ 5 callersFunction_validate_cypher_identifier
Return *value* if it is a bare Cypher identifier, else raise.
src/codegraphcontext/core/cgc_bundle.py:68
↓ 5 callersMethodadd_dependency
Simulates adding a new dependency edge.
src/codegraphcontext/core/simulator.py:188
↓ 5 callersMethodanalyze_code_relationships
(self, query_type: str, target: str, context: Optional[str] = None, repo_path: Optional[str] = None, depth: Op
src/codegraphcontext/tools/code_finder.py:1216
↓ 5 callersFunctionany_repo_matches_path
(repos: Iterable[Dict[str, Any]], path_obj: Path)
src/codegraphcontext/utils/repo_path.py:27
↓ 5 callersMethodarea
()
tests/fixtures/sample_projects/sample_project_swift/Shapes.swift:5
↓ 5 callersFunctionbuild_decorated_by_links
Build DECORATED_BY rows from parsed decorator metadata on functions/classes.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:339
↓ 5 callersMethodbuild_graph_from_path_async
( self, path: Path, is_dependency: bool = False, job_id: str = None, cgcignore_path: str = None )
src/codegraphcontext/tools/graph_builder.py:1154
↓ 5 callersFunctionbuild_index_summary
Build CLI-facing metrics for a completed Tree-sitter indexing run.
src/codegraphcontext/tools/indexing/pipeline.py:51
↓ 5 callersFunctionbuild_inheritance_and_csharp_files
Returns (inheritance_batch_rows, csharp_file_data_list).
src/codegraphcontext/tools/indexing/resolution/inheritance.py:76
↓ 5 callersMethodcheck_port_reachable
Lightweight TCP preflight check for Neo4j endpoint reachability.
src/codegraphcontext/core/database.py:236
↓ 5 callersFunctioncreate_app
()
src/codegraphcontext/api/app.py:10
↓ 5 callersFunctioncritical_logger
Log critical message if log level allows
src/codegraphcontext/utils/debug_log.py:93
↓ 5 callersFunctiondiscover_files_to_index
Returns (files, ignore_root). *ignore_root* is used for .cgcignore relative matching. ``supported_extensions`` should be the set of extensio
src/codegraphcontext/tools/indexing/discovery.py:86
↓ 5 callersFunctiondispatch
(action: Action)
website/src/hooks/use-toast.ts:128
↓ 5 callersMethodfindCallers
(target: string, filePath?: string)
extensions/vscode/src/mcp/service.ts:66
↓ 5 callersMethodget_backend_type
Returns the database backend type.
src/codegraphcontext/core/database.py:188
↓ 5 callersMethodget_driver
Gets the remote FalkorDB connection, creating it if necessary. Thread-safe. Supports multiple graphs by name. Args:
src/codegraphcontext/core/database_falkordb_remote.py:65
↓ 5 callersMethodget_driver
(self, graph_name=None)
tests/integration/cli/test_cli_commands.py:623
↓ 5 callersFunctionget_falkordb_port
Return an explicit port or a stable port unique to a Unix socket path.
src/codegraphcontext/core/falkor_worker.py:34
↓ 5 callersMethodget_metrics_summary
Assembles all architectural metrics into a unified summary.
src/codegraphcontext/core/simulator.py:409
↓ 5 callersFunctionis_gcf_enabled
Check if GCF output format is enabled via environment variable.
src/codegraphcontext/utils/gcf_encoder.py:42
↓ 5 callersMethodload_from_db
Fetches the repository structure and relationships from the database.
src/codegraphcontext/core/simulator.py:33
↓ 5 callersFunctionopen_in_browser
Write the visualization HTML to a file and open it in the default browser. Parameters ---------- graph_data: Output of :func
src/codegraphcontext/utils/visualize_graph.py:414
↓ 5 callersFunctionpre_scan_for_imports
Dispatch pre-scan by file extension; *parsers_keys* is the set of supported extensions (e.g. graph_builder.parsers.keys()).
src/codegraphcontext/tools/indexing/pre_scan.py:104
↓ 5 callersFunctionraise_service_unavailable
(exc: Exception)
src/codegraphcontext/api/router.py:34
↓ 5 callersMethodremove_dependency
Simulates removing dependency edges.
src/codegraphcontext/core/simulator.py:176
↓ 5 callersMethodrun
Generate and persist embeddings for all un-embedded Function nodes in repo.
src/codegraphcontext/tools/indexing/embeddings.py:237
↓ 5 callersMethodrun
(self, query, **kwargs)
tests/unit/tools/test_embeddings_and_vector_resolver.py:43
↓ 5 callersMethodsession
(self)
tests/integration/cli/test_cli_commands.py:109
↓ 5 callersMethodsession
(self, **kwargs)
tests/unit/core/test_graph_layer_robustness.py:37
↓ 5 callersMethodsubscribe
(callback: (data: T) => void)
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:149
↓ 5 callersMethodsum
()
tests/fixtures/sample_projects/sample_project_typescript/src/classes-inheritance.ts:262
↓ 5 callersMethodswitchContext
(contextPath: string)
extensions/vscode/src/mcp/service.ts:260
↓ 5 callersFunctiontoast
({ ...props }: Toast)
website/src/hooks/use-toast.ts:137
↓ 5 callersMethodunwrap_or
(self, default: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:248
↓ 5 callersMethodwatch_directory
( self, path: str, perform_initial_scan: bool = True, cgcignore_path: str = No
src/codegraphcontext/core/watcher.py:399
↓ 4 callersMethodArea
()
tests/fixtures/sample_projects/sample_project_go/interfaces.go:11
↓ 4 callersMethodClose
()
tests/fixtures/sample_projects/sample_project_go/tough_cases.go:22
↓ 4 callersMethodUTF8ToString
(e,t)
website/public/wasm/tree-sitter-core.js:1
↓ 4 callersFunction_allow_deletion
()
tests/unit/cli/test_delete_confirmation_and_watch_commands.py:16
↓ 4 callersFunction_bundle
A CGCBundle whose only real behaviour is its backend type.
tests/unit/core/test_bundle_edge_zero_id.py:25
↓ 4 callersMethod_create_all_function_calls
Create CALLS relationships using fully label-specific UNWIND queries (V3). Both caller AND called sides use specific labels — no OR scans anyw
src/codegraphcontext/tools/graph_builder.py:512
↓ 4 callersFunction_edge
(from_id: str, to_id: str)
tests/unit/core/test_bundle_edge_zero_id.py:32
↓ 4 callersFunction_escape_cypher_string
(value: str)
src/codegraphcontext/cli/visualizer.py:31
↓ 4 callersMethod_extract_cast_type
(self, expression: str)
src/codegraphcontext/tools/languages/kotlin.py:616
↓ 4 callersMethod_extract_generic_factory_type
(self, expression: str)
src/codegraphcontext/tools/languages/kotlin.py:624
↓ 4 callersMethod_get_parent_context
(self, node, types=('function_declaration', 'class_declaration', 'method_definition', 'function_expression', '
src/codegraphcontext/tools/languages/typescript.py:108
↓ 4 callersMethod_get_parent_context
Find parent context for Ruby constructs.
src/codegraphcontext/tools/languages/ruby.py:132
↓ 4 callersMethod_get_parent_context
( self, node: Any, types: Tuple[str, ...] = FUNCTION_LIKE_TYPES + TYPE_CONTAINER_TYPES )
src/codegraphcontext/tools/languages/solidity.py:123
↓ 4 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/kotlin.py:149
↓ 4 callersFunction_is_binder_exception
(e: Exception)
src/codegraphcontext/tools/indexing/persistence/writer.py:77
↓ 4 callersMethod_is_cl_defun
(self, node: Any)
src/codegraphcontext/tools/languages/elisp.py:160
↓ 4 callersMethod_iter_nodes
(self, node: Any)
src/codegraphcontext/tools/languages/elisp.py:130
↓ 4 callersFunction_load_workspace_mappings
Load the ``workspace_mappings`` section from config.yaml.
src/codegraphcontext/cli/config_manager.py:1307
↓ 4 callersFunction_make_finder
(recorder: Optional[Dict[str, Any]] = None)
tests/unit/tools/test_kuzu_relationship_queries.py:42
↓ 4 callersFunction_make_wrapper
(language_name)
tests/unit/parsers/test_sfc_parsers.py:19
← previousnext →201–300 of 5,033, ranked by callers