MCPcopy Create free account

hub / github.com/CodeGraphContext/CodeGraphContext / functions

Functions5,033 in github.com/CodeGraphContext/CodeGraphContext

↓ 4 callersFunction_new_kuzu_driver
(tmp_path: Path)
tests/unit/tools/test_kuzu_import_indexing.py:24
↓ 4 callersMethod_normalize_type_name
(self, raw: str)
src/codegraphcontext/tools/languages/solidity.py:584
↓ 4 callersFunction_query_src
()
tests/unit/tools/test_dead_code_analysis.py:17
↓ 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 callersMethod_validate_bundle
Validate that the bundle contains all required files.
src/codegraphcontext/core/cgc_bundle.py:830
↓ 4 callersFunction_wrapper
(lang)
tests/unit/parsers/test_c_cpp_pointer_returns.py:23
↓ 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:187
↓ 4 callersMethodauto_partition_services
Automatically partitions repository nodes into services based on directory structures.
src/codegraphcontext/core/simulator.py:136
↓ 4 callersMethodconsume
Mark result as consumed (for compatibility).
src/codegraphcontext/core/database_falkordb.py:766
↓ 4 callersFunctioncreate_graph_schema
Create constraints and indexes. *driver* must support .session() context manager.
src/codegraphcontext/tools/indexing/schema.py:33
↓ 4 callersMethoddecompose_service
Sets custom service boundaries. Mapping is node_id or path -> service_name.
src/codegraphcontext/core/simulator.py:162
↓ 4 callersMethoddelete_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:872
↓ 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:948
↓ 4 callersFunctiondownloadBlob
(blob: Blob, filename: string)
website/src/lib/cgc-exporter.ts:106
↓ 4 callersMethoddriver
Returns driver for the active graph (set via graph_name params), or default.
src/codegraphcontext/tools/code_finder.py:169
↓ 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
(self, exclude_decorated_with: Optional[List[str]] = None, repo_path: Optional[str] = None, graph_name: str =
src/codegraphcontext/tools/code_finder.py:807
↓ 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
(self, limit: int = 10, repo_path: Optional[str] = None, graph_name: str = None)
src/codegraphcontext/tools/code_finder.py:1409
↓ 4 callersFunctionfunction_arg_count
(func: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:321
↓ 4 callersFunctionfunction_arg_types
(func: Dict[str, Any])
src/codegraphcontext/tools/indexing/resolution/calls.py:394
↓ 4 callersFunctionfunction_scope_for_line
( context_name: Optional[str], line_number: Optional[int], )
src/codegraphcontext/tools/indexing/resolution/calls.py:2201
↓ 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_cypher_query
(self, query: str)
src/codegraphcontext/tools/query_tool_languages/c_toolkit.py:5
↓ 4 callersMethodget_driver
(self)
tests/unit/core/test_database_falkordb_wrapper.py:106
↓ 4 callersFunctionget_hook_status
(start: Path | str | None = None)
src/codegraphcontext/cli/hook_manager.py:98
↓ 4 callersFunctionget_local_package_path
(package_name: str, language: str)
src/codegraphcontext/tools/package_resolver.py:257
↓ 4 callersFunctionget_project_root
Get the current working directory as project root.
src/codegraphcontext/cli/project_config.py:20
↓ 4 callersFunctionget_repo_path
Resolves and returns repository path as absolute path string.
src/codegraphcontext/cli/simulator.py:18
↓ 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:788
↓ 4 callersMethodlink_inheritance
Resolve and persist INHERITS / C# IMPLEMENTS / Go IMPLEMENTS relationships. Parameters ---------- all_file_data : list[Dict]
src/codegraphcontext/tools/graph_builder.py:833
↓ 4 callersFunctionload_cgc_credentials
Loads CGC credentials dynamically to prevent circular imports.
src/codegraphcontext/cli/simulator.py:25
↓ 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:2342
↓ 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 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
↓ 4 callersMethodparse
Parses a C file and returns its structure.
src/codegraphcontext/tools/languages/c.py:160
↓ 4 callersMethodparse_file
Parse a source file and extract code structure. Parameters ---------- repo_path : Path Path to the parent reposit
src/codegraphcontext/tools/graph_builder.py:1024
↓ 4 callersMethodregister
(name: string, module: BaseModule)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:446
↓ 4 callersMethodremove_node
Simulates deleting a class, function, or file.
src/codegraphcontext/core/simulator.py:197
↓ 4 callersMethodrender
(explicitMode?: string)
extensions/vscode/src/views/controlPanel.ts:62
↓ 4 callersFunctionsave_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:475
↓ 4 callersMethodshow
()
extensions/vscode/src/webview/dashboardPanel.ts:30
↓ 4 callersMethodshutdown
()
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:451
↓ 4 callersFunctionsimple_type_name
(type_name: Optional[str])
src/codegraphcontext/tools/indexing/resolution/calls.py:337
↓ 4 callersFunctionunmarshalCaptures
(query, tree, address, patternIndex, result)
website/public/wasm/web-tree-sitter.js:1171
↓ 4 callersFunctionunmarshalRange
(address)
website/public/wasm/web-tree-sitter.js:1254
↓ 3 callersMethodAsciiToString
(e)
website/public/wasm/tree-sitter-core.js:1
↓ 3 callersMethodToUpper
ToUpper converts to uppercase
tests/fixtures/sample_projects/sample_project_go/advanced_types.go:18
↓ 3 callersMethod_assignment_name_nodes
(self, assignment: Any)
src/codegraphcontext/tools/languages/lua.py:59
↓ 3 callersFunction_atomic_write_text
Write *content* to *path* atomically (temp file + replace).
src/codegraphcontext/cli/config_manager.py:56
↓ 3 callersMethod_build_command
Build the CLI command for each supported SCIP indexer.
src/codegraphcontext/tools/scip_indexer.py:393
↓ 3 callersFunction_db_manager
(records)
tests/unit/cli/test_offline_visualization.py:31
↓ 3 callersFunction_default_db_path
Return the canonical DB path for a named context.
src/codegraphcontext/cli/config_manager.py:838
↓ 3 callersFunction_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:846
↓ 3 callersMethod_extract_package_name
(source_code: str)
src/codegraphcontext/tools/languages/kotlin.py:61
↓ 3 callersFunction_file_props
(name: str, file: Optional[str])
src/codegraphcontext/cli/visualizer.py:48
↓ 3 callersMethod_find_csharp_project
Find the first .sln or .csproj file for scip-dotnet.
src/codegraphcontext/tools/scip_indexer.py:384
↓ 3 callersFunction_finder_with
(rows)
tests/unit/tools/test_query_correctness_batch.py:89
↓ 3 callersFunction_fn_edges
(groups)
tests/unit/tools/test_python_call_resolution_patterns.py:44
↓ 3 callersFunction_generate_mcp_json
Generates and prints the MCP JSON configuration.
src/codegraphcontext/cli/setup_wizard.py:96
↓ 3 callersMethod_get_docstring
(self, body_node)
src/codegraphcontext/tools/languages/python.py:117
↓ 3 callersMethod_get_docstring
Extract Go doc comment preceding the function.
src/codegraphcontext/tools/languages/go.py:188
↓ 3 callersFunction_get_kuzu_db
Get KuzuDB manager, or return None if not available.
tests/test_issue_806_fix.py:54
↓ 3 callersMethod_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 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/java.py:273
↓ 3 callersMethod_get_parent_context
(self, node, types=SIGNATURE_TYPES + CONTAINER_TYPES)
src/codegraphcontext/tools/languages/dart.py:98
↓ 3 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/lua.py:189
↓ 3 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/scala.py:142
↓ 3 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/swift.py:130
↓ 3 callersMethod_get_parent_context
(self, node, types=('function_declaration', 'class_declaration', 'function_expression', 'method_definition', '
src/codegraphcontext/tools/languages/javascript.py:131
↓ 3 callersMethod_get_parent_context
(self, node: Any)
src/codegraphcontext/tools/languages/php.py:153
↓ 3 callersMethod_get_parent_context
(self, node, types=('function_definition', 'class_specifier'))
src/codegraphcontext/tools/languages/cpp.py:561
↓ 3 callersFunction_graph_builder
()
tests/unit/core/test_watcher_cgcignore.py:8
↓ 3 callersMethod_handle_removal
Drop a path that no longer exists (the source side of a rename).
src/codegraphcontext/core/watcher.py:374
↓ 3 callersFunction_huggingface_headers
Headers for huggingface.co. Uses HF_TOKEN — never the GitHub token.
src/codegraphcontext/core/bundle_registry.py:38
↓ 3 callersMethod_import_node_batch
Import a batch of nodes.
src/codegraphcontext/core/cgc_bundle.py:1057
↓ 3 callersMethod_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 callersMethod_infer_receiver_type
( self, expression: str, context: Any, enclosing_class: Optional[str],
src/codegraphcontext/tools/languages/kotlin.py:457
↓ 3 callersFunction_inventory_from_main_source
()
tests/integration/cli/test_cli_commands.py:32
↓ 3 callersFunction_is_managed_hook
(path: Path)
src/codegraphcontext/cli/hook_manager.py:154
↓ 3 callersFunction_levenshtein_distance
Levenshtein distance for short identifiers (typo-tolerant name search).
src/codegraphcontext/tools/code_finder.py:47
↓ 3 callersFunction_load_gcf
Lazily load GCF encoder. Check once, cache the result.
src/codegraphcontext/utils/gcf_encoder.py:28
↓ 3 callersMethod_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 callersFunction_make_driver_with_execute_methods
()
tests/unit/tools/test_graph_writer_transactions.py:35
↓ 3 callersMethod_make_wrapper
(self)
tests/unit/tools/test_falkordb_kuzu_session_kwargs.py:28
↓ 3 callersFunction_meta
Read a KùzuDB/LadybugDB internal dict field regardless of its casing. KùzuDB spells these fields lowercase (_label/_src/_dst); LadybugDB spells
src/codegraphcontext/viz/server.py:130
↓ 3 callersFunction_only_backend
Make exactly one backend look available, and none of the others.
tests/unit/core/test_backend_fallback_logging.py:29
↓ 3 callersMethod_parse
(self, tmp_path)
tests/unit/parsers/test_c_cpp_pointer_returns.py:49
↓ 3 callersMethod_parse
(self, tmp_path)
tests/unit/parsers/test_c_cpp_pointer_returns.py:71
← previousnext →301–400 of 5,033, ranked by callers