MCPcopy Create free account

hub / github.com/CodeGraphContext/CodeGraphContext / functions

Functions4,532 in github.com/CodeGraphContext/CodeGraphContext

↓ 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:618
↓ 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:170
↓ 6 callersMethodparse
Parse *pom_path* and return a dict compatible with GraphWriter.write_maven_build_graph(). Keys returned: modules List[dic
src/codegraphcontext/tools/languages/maven.py:30
↓ 6 callersMethodrefresh
()
extensions/vscode/src/webview/dashboardPanel.ts:103
↓ 6 callersFunctionrender_html
Render a self-contained HTML string for the given graph data. The generated page uses an inline force-directed layout via vanilla JS so
src/codegraphcontext/utils/visualize_graph.py:106
↓ 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:532
↓ 6 callersFunctionsave_context_config
Persist ContextConfig to ~/.codegraphcontext/config.yaml.
src/codegraphcontext/cli/config_manager.py:887
↓ 6 callersMethodtest_connection
Tests the Neo4j database connection. Returns: Tuple[bool, Optional[str]]: (is_connected, error_message)
src/codegraphcontext/core/database.py:288
↓ 6 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:661
↓ 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_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 callersMethodadd_file_to_graph
( self, file_data: Dict[str, Any], repo_name: str, imports_map: dict,
src/codegraphcontext/tools/indexing/persistence/writer.py:200
↓ 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 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:1118
↓ 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:232
↓ 5 callersFunctioncritical_logger
Log critical message if log level allows
src/codegraphcontext/utils/debug_log.py:93
↓ 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_driver
(self)
tests/integration/cli/test_cli_commands.py:610
↓ 5 callersMethodinfo
()
tests/fixtures/sample_projects/sample_project_javascript/classes.js:29
↓ 5 callersFunctionis_gcf_enabled
Check if GCF output format is enabled via environment variable.
src/codegraphcontext/utils/gcf_encoder.py:39
↓ 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:98
↓ 5 callersFunctionraise_service_unavailable
(exc: Exception)
src/codegraphcontext/api/router.py:30
↓ 5 callersFunctionread_only_rejection_message
()
src/codegraphcontext/utils/cypher_readonly.py:61
↓ 5 callersMethodrun
(self, query, **kwargs)
tests/unit/tools/test_embeddings_and_vector_resolver.py:43
↓ 5 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
↓ 5 callersFunctionrun_test
(name, func)
tests/unit/tools/test_graph_writer_transactions.py:20
↓ 5 callersMethodsession
(self)
tests/integration/cli/test_cli_commands.py:109
↓ 5 callersMethodsession
(self, **_kwargs)
tests/unit/cli/test_setup_wizard_credentials.py:16
↓ 5 callersMethodstart
(user)
tests/fixtures/sample_projects/sample_project_ruby/session.rb:18
↓ 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 callersMethodwait
(self)
tests/unit/core/test_watcher_startup_sync.py:102
↓ 5 callersMethodwatch_directory
( self, path: str, perform_initial_scan: bool = True, cgcignore_path: str = No
src/codegraphcontext/core/watcher.py:336
↓ 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 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:497
↓ 4 callersMethod_debounce
(self, event_path, action)
src/codegraphcontext/core/watcher.py:182
↓ 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)
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:1262
↓ 4 callersFunction_resolve_with_progress_service
(call: dict, caller_data: dict, progress_data: dict)
tests/unit/parsers/test_kotlin_parser.py:584
↓ 4 callersFunction_resolved_posix
Memoized ``Path(path).resolve().as_posix()``. The CALLS pass resolves the same handful of paths hundreds of thousands of times; ``Path.resolv
src/codegraphcontext/tools/indexing/resolution/calls.py:16
↓ 4 callersFunction_run_system
(cypher_query, recorder)
tests/unit/tools/test_cypher_query_readonly.py:107
↓ 4 callersMethod_split_parameters
(self, params_text: str)
src/codegraphcontext/tools/languages/kotlin.py:1927
↓ 4 callersMethod_strip_generic
Return the raw type name without generic parameters, e.g. 'List<String>' -> 'List'.
src/codegraphcontext/tools/languages/java.py:172
↓ 4 callersMethodadd
(a, b)
tests/fixtures/sample_projects/sample_project_javascript/classes.js:126
↓ 4 callersMethodadd_repository_to_graph
Adds a repository node using its absolute path as the unique key.
src/codegraphcontext/tools/graph_builder.py:172
↓ 4 callersFunctionbuild_decorated_by_links
Build DECORATED_BY rows from parsed decorator metadata on functions/classes.
src/codegraphcontext/tools/indexing/resolution/inheritance.py:339
↓ 4 callersMethodconsume
Mark result as consumed (for compatibility).
src/codegraphcontext/core/database_falkordb.py:628
↓ 4 callersMethoddelete_outgoing_calls_from_files
Remove outgoing CALLS relationships from the specified files. Parameters ---------- file_paths : list List of abs
src/codegraphcontext/tools/graph_builder.py:931
↓ 4 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:82
↓ 4 callersFunctiondownloadBlob
(blob: Blob, filename: string)
website/src/lib/cgc-exporter.ts:106
↓ 4 callersMethoddriver
(*_args, **_kwargs)
tests/unit/cli/test_setup_wizard_credentials.py:22
↓ 4 callersFunctionfile_path_has_ignore_dir_segment
True if any directory segment of file_path relative to index_root matches IGNORE_DIRS (same logic as Tree-sitter indexing).
src/codegraphcontext/utils/path_ignore.py:40
↓ 4 callersMethodfind_dead_code
Find potentially unused functions (not called by other functions in the project), optionally excluding those with specific decorators.
src/codegraphcontext/tools/code_finder.py:782
↓ 4 callersFunctionfind_git_repository
Find the nearest Git repository root and git directory.
src/codegraphcontext/cli/hook_manager.py:44
↓ 4 callersMethodfind_most_complex_functions
Find the most complex functions based on cyclomatic complexity.
src/codegraphcontext/tools/code_finder.py:1364
↓ 4 callersFunctionfunction_arg_count
(func: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:320
↓ 4 callersFunctionfunction_arg_types
(func: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:393
↓ 4 callersFunctionfunction_scope_for_line
( context_name: Optional[str], line_number: Optional[int], )
src/codegraphcontext/tools/indexing/resolution/calls.py:2197
↓ 4 callersFunctiongetAuthTokenKey
(ref: RepoRef)
website/src/lib/repo-provider.ts:139
↓ 4 callersFunctiongetText
(tree, startIndex, endIndex, startPosition)
website/public/wasm/web-tree-sitter.js:199
↓ 4 callersMethodget_backend_type
Returns the database backend type.
src/codegraphcontext/core/database.py:184
↓ 4 callersMethodget_driver
Gets the remote FalkorDB connection, creating it if necessary. Thread-safe. Returns: A FalkorDBDriverWrapper tha
src/codegraphcontext/core/database_falkordb_remote.py:65
↓ 4 callersMethodget_driver
(self)
tests/unit/cli/test_analyze_complexity_file_path.py:17
↓ 4 callersFunctionget_hook_status
(start: Path | str | None = None)
src/codegraphcontext/cli/hook_manager.py:98
↓ 4 callersFunctionisObject
(value: unknown)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:117
↓ 4 callersFunctionisPoint
(point)
website/public/wasm/web-tree-sitter.js:119
↓ 4 callersMethodlink_function_calls
Resolve and persist CALLS relationships. Parameters ---------- all_file_data : list[Dict] Parsed data for all fil
src/codegraphcontext/tools/graph_builder.py:777
↓ 4 callersMethodlink_inheritance
Resolve and persist INHERITS / C# IMPLEMENTS / Go IMPLEMENTS relationships. Parameters ---------- all_file_data : list[Dict]
src/codegraphcontext/tools/graph_builder.py:822
↓ 4 callersFunctionlocateFile
(path)
website/public/wasm/web-tree-sitter.js:1541
↓ 4 callersFunctionlookup_scoped_declaration_value
( name: Optional[str], context: Any, line_number: Optional[int],
src/codegraphcontext/tools/indexing/resolution/calls.py:2338
↓ 4 callersMethodnew
(first: T, second: T)
tests/fixtures/sample_projects/sample_project_rust/src/traits.rs:198
↓ 4 callersFunctionopenDB
()
website/src/pages/Explore.tsx:73
↓ 4 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:394
↓ 4 callersFunctionpackageCgcBundle
( repoName: string, nodes: GraphNode[], links: GraphLink[], version: string = "1.0.0", extraMetadata
website/src/lib/cgc-exporter.ts:22
↓ 4 callersMethodparse
(self, path: Path, is_dependency: bool = False, index_source: bool = False)
src/codegraphcontext/tools/languages/java.py:177
← previousnext →201–300 of 4,532, ranked by callers