MCPcopy Create free account

hub / github.com/CodeGraphContext/CodeGraphContext / functions

Functions4,973 in github.com/CodeGraphContext/CodeGraphContext

↓ 497 callersMethodget
(name: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:448
↓ 375 callersMethodappend
(_ item: Item)
tests/fixtures/sample_projects/sample_project_swift/Generics.swift:38
↓ 133 callersMethodresolve
Return the file path of the best-matching Function among candidates.
src/codegraphcontext/tools/indexing/vector_resolver.py:115
↓ 115 callersMethodprint
(self, *args, **kwargs)
src/codegraphcontext/cli/config_manager.py:39
↓ 112 callersMethoditems
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1234
↓ 108 callersMethodparse
(self, path: Path, _is_dependency: bool, index_source: bool = False)
tests/unit/tools/test_scip_pipeline_calls.py:29
↓ 105 callersFunctionnext
()
website/src/components/TestimonialSection.tsx:38
↓ 101 callersMethodadd
(self, a, b)
tests/fixtures/sample_projects/sample_project/unicode_test.py:4
↓ 100 callersMethodas_posix
(self)
tests/unit/tools/test_imports_map_race.py:20
↓ 93 callersFunctionexecute_query
Execute a tree-sitter query and return captures in backward-compatible format. This function provides compatibility with the old tree-si
src/codegraphcontext/utils/tree_sitter_manager.py:322
↓ 92 callersMethodpush
(&mut self, item: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:120
↓ 83 callersMethodsession
Proxy method to get a session from the underlying driver.
src/codegraphcontext/core/database.py:40
↓ 80 callersMethodmap
(fn: (a: A) => B)
tests/fixtures/sample_projects/sample_project_typescript/src/advanced-types.ts:236
↓ 77 callersMethodresolve
(self)
tests/unit/tools/test_imports_map_race.py:17
↓ 77 callersFunctionwarning_logger
Log warning message if log level allows
src/codegraphcontext/utils/debug_log.py:83
↓ 73 callersFunctionbuild_function_call_groups
Resolve all function calls and return grouped CALLS payloads. Return order: (fn_to_fn, fn_to_class, fn_to_interface, fn_to_object, file_
src/codegraphcontext/tools/indexing/resolution/calls.py:1651
↓ 70 callersFunctioninfo_logger
Log info message if log level allows
src/codegraphcontext/utils/debug_log.py:73
↓ 70 callersFunctionmarshalNode
(node, index = 0)
website/public/wasm/web-tree-sitter.js:1182
↓ 67 callersFunctioncn
(...inputs: ClassValue[])
website/src/lib/utils.ts:4
↓ 67 callersFunctionerror_logger
Log error message if log level allows
src/codegraphcontext/utils/debug_log.py:78
↓ 57 callersMethoderror
(message: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:39
↓ 52 callersMethodlog
($msg)
tests/fixtures/sample_projects/sample_project_php/interface_traits.php:7
↓ 51 callersMethodsearch
(query: string, limit = 30)
website/api/v1/lib/graph-engine.ts:150
↓ 49 callersMethodupdate
(id: T[K], updates: Partial<T>)
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:150
↓ 45 callersFunction_load_credentials
Loads configuration and credentials from various sources into environment variables. Uses per-variable precedence - each variable is loaded f
src/codegraphcontext/cli/main.py:297
↓ 45 callersMethodrun
Run the SCIP indexer for `lang` on `project_path`. Returns path to index.scip, or None if the indexer failed / is not installed.
src/codegraphcontext/tools/scip_indexer.py:165
↓ 42 callersMethodkeys
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1231
↓ 41 callersMethodclose_driver
Closes the Neo4j driver connection if it exists.
src/codegraphcontext/core/database.py:165
↓ 41 callersFunctionmarshalTreeCursor
(cursor, address = TRANSFER_BUFFER)
website/public/wasm/web-tree-sitter.js:1216
↓ 41 callersFunctionunmarshalNode
(tree, address = TRANSFER_BUFFER)
website/public/wasm/web-tree-sitter.js:1195
↓ 40 callersFunction_write_and_parse
(parser, src: str, suffix: str = ".kt")
tests/unit/parsers/test_kotlin_parser.py:24
↓ 40 callersFunctiondebug_log
Write debug message to a file if DEBUG_LOGS is enabled
src/codegraphcontext/utils/debug_log.py:55
↓ 40 callersMethodget_driver
Gets the Neo4j driver instance, creating it if it doesn't exist. This method is thread-safe. The `graph_name` parameter is a
src/codegraphcontext/core/database.py:85
↓ 39 callersMethodpop
(&mut self)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:124
↓ 38 callersFunction_initialize_services
Initializes and returns core service managers based on the resolved context. Returns (db_manager, graph_builder, code_finder, resolved_contex
src/codegraphcontext/cli/cli_helpers.py:128
↓ 38 callersFunctionget_tree_sitter_manager
Get the global TreeSitterManager instance (singleton pattern). Returns: The global TreeSitterManager instance
src/codegraphcontext/utils/tree_sitter_manager.py:293
↓ 37 callersFunction_write_source
(root: Path, relative_path: str, src: str)
tests/unit/parsers/test_kotlin_parser.py:38
↓ 37 callersMethodget_language_safe
Get a cached Language object for the specified language. This method is thread-safe and caches languages to avoid repeated l
src/codegraphcontext/utils/tree_sitter_manager.py:180
↓ 37 callersMethodhas
(name: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:449
↓ 37 callersFunctionpre_scan_kotlin
(files: list[Path], parser_wrapper)
src/codegraphcontext/tools/languages/kotlin.py:2117
↓ 37 callersMethodrun
Execute a Cypher query on FalkorDB. Read-only sessions use ``graph.ro_query`` (GRAPH.RO_QUERY), which the FalkorDB server re
src/codegraphcontext/core/database_falkordb.py:579
↓ 36 callersMethodvalues
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1237
↓ 35 callersMethoddata
(self)
src/codegraphcontext/core/database_falkordb.py:746
↓ 35 callersFunctionresolve
(call_dict, local_names=None, local_imports=None, imports_map=None, skip_external=False)
tests/unit/tools/test_calls_resolution_tiers.py:42
↓ 35 callersMethodset
(&mut self, index: usize, value: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:376
↓ 34 callersFunctionget_backend_type
Determine the database backend type dynamically.
src/codegraphcontext/tools/indexing/persistence/utils.py:6
↓ 34 callersMethodinvoke
(Object proxy, Method method, Object[] args)
tests/fixtures/sample_projects/sample_project_java/src/com/example/app/ToughCases.java:145
↓ 33 callersFunction_make_graph_builder
Return a GraphBuilder with a fake driver. Skips full __init__ setup.
tests/unit/tools/test_graph_builder_perf_fixes.py:85
↓ 33 callersMethodlog
(message: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:35
↓ 32 callersMethodcreate_parser
Create a new Parser instance for the specified language. IMPORTANT: Parsers are NOT thread-safe and should not be shared acr
src/codegraphcontext/utils/tree_sitter_manager.py:227
↓ 32 callersMethodmax
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/traits.rs:204
↓ 31 callersMethodadd_column
(self, name, **_kwargs)
src/codegraphcontext/cli/config_manager.py:22
↓ 31 callersMethodadd_row
(self, *cells)
src/codegraphcontext/cli/config_manager.py:25
↓ 31 callersFunctionexecute_write_operation
Execute a database write operation with full transaction and retry support. For Neo4j/Nornic, utilizes managed transactions (execute_write or
src/codegraphcontext/tools/indexing/persistence/utils.py:13
↓ 30 callersMethodpush
(item: T)
tests/fixtures/sample_projects/sample_project_typescript/src/functions-generics.ts:195
↓ 27 callersFunctiontraverse
(n: any)
website/src/lib/parser.worker.ts:537
↓ 26 callersFunctionOk
(data: T)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:75
↓ 26 callersFunction_parser
(manager, lang: str)
tests/unit/tools/test_cross_lang_call_resolution_patterns.py:51
↓ 25 callersFunctionget_config_value
Get a specific configuration value.
src/codegraphcontext/cli/config_manager.py:644
↓ 24 callersFunctionErr
(error: E)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:76
↓ 22 callersFunction_call
(called_name, full_name=None, inferred_obj_type=None, context=("caller_fn", None, 1))
tests/unit/tools/test_calls_resolution_tiers.py:28
↓ 22 callersFunction_write_and_parse
Write src to a temp file and parse it.
tests/unit/parsers/test_java_parser.py:40
↓ 22 callersFunctionbuild_graph_data
Convert raw node/edge dicts from a graph query into a JSON-serialisable structure understood by the CGC web visualiser. Parameters -
src/codegraphcontext/utils/visualize_graph.py:77
↓ 22 callersMethodrun
(self, statement: str, *args: Any, **kwargs: Any)
src/codegraphcontext/tools/indexing/schema.py:24
↓ 22 callersMethodsingle
Return single result record as a FalkorDBRecord.
src/codegraphcontext/core/database_falkordb.py:771
↓ 21 callersFunction_normalize_path
Normalize a path to use forward slashes for cross-platform DB consistency. On Windows, Path.resolve() returns backslashes which breaks STARTS WIT
src/codegraphcontext/tools/indexing/persistence/writer.py:43
↓ 21 callersMethodgetValue
(e,t="i8")
website/public/wasm/tree-sitter-core.js:1
↓ 21 callersMethodrun
(self, statement, *args, **kwargs)
tests/unit/core/test_graph_layer_robustness.py:20
↓ 20 callersFunctionresolve_function_call
Resolve a single function call to its target. Returns call params dict or None if skipped.
src/codegraphcontext/tools/indexing/resolution/calls.py:102
↓ 20 callersMethodtoString
Get the S-expression representation of this node.
website/public/wasm/web-tree-sitter.js:1161
↓ 19 callersFunctionfn
(e: WheelEvent)
website/src/components/FlowchartSVG.tsx:269
↓ 19 callersMethodmatch_file
Returns True if the file should be ignored. Note on directory-only patterns (e.g. `build/`): Since we match on the path strin
src/codegraphcontext/core/cgcignore.py:200
↓ 18 callersMethod_get_node_text
(self, node: Any)
src/codegraphcontext/tools/languages/solidity.py:118
↓ 17 callersMethod__new__
(mcls, name, bases, dct)
tests/fixtures/sample_projects/sample_project/advanced_classes.py:20
↓ 17 callersMethoddelete
(id: T[K])
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:151
↓ 17 callersFunctionunmarshalTreeCursor
(cursor)
website/public/wasm/web-tree-sitter.js:1223
↓ 17 callersMethodunwrap
(self)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:241
↓ 16 callersFunction__name
(target, value)
website/public/wasm/web-tree-sitter.js:2
↓ 16 callersMethod_get_node_text
(self, node: Any)
src/codegraphcontext/tools/languages/kotlin.py:207
↓ 16 callersMethoddelete_repository_from_graph
(self, _)
tests/integration/cli/test_cli_commands.py:122
↓ 16 callersMethodload
* Load a language from a WebAssembly module. * The module can be provided as a path to a file or as a buffer.
website/public/wasm/web-tree-sitter.js:1482
↓ 16 callersMethodresolve
(self)
tests/unit/core/test_watcher_startup_sync.py:69
↓ 15 callersMethodgetRepoPathOverride
()
extensions/vscode/src/mcp/service.ts:17
↓ 15 callersMethodvalues
(self)
tests/unit/cli/test_offline_visualization.py:27
↓ 14 callersFunction_apply_response_token_limit
Truncate *text* to the configured budget and append a visible notice. Reads two independent config knobs at call time so live changes are res
src/codegraphcontext/server.py:118
↓ 14 callersFunction_local_names
(parsed: dict)
tests/unit/parsers/test_kotlin_parser.py:559
↓ 14 callersMethod_reset_singleton
Reset the singleton so each test starts fresh.
tests/unit/core/test_database_falkordb_remote.py:15
↓ 14 callersMethodclose_driver
(self)
tests/unit/cli/test_analyze_complexity_file_path.py:20
↓ 14 callersMethodfrom
(err: io::Error)
tests/fixtures/sample_projects/sample_project_rust/src/error_handling.rs:71
↓ 14 callersMethodgetLogger
Get the parser's current logger.
website/public/wasm/web-tree-sitter.js:3338
↓ 14 callersFunctiongetValue
(ptr, type = "i8")
website/public/wasm/web-tree-sitter.js:1997
↓ 14 callersFunctionis_read_only_cypher
Return True when *query* has no write keywords outside string literals.
src/codegraphcontext/utils/cypher_readonly.py:71
↓ 14 callersMethodparse
* Parse a slice of UTF8 text. * * @param {string | ParseCallback} callback - The UTF8-encoded text to parse or a callback function. * * @p
website/public/wasm/web-tree-sitter.js:3245
↓ 14 callersMethodtext
Get the string content of this node.
website/public/wasm/web-tree-sitter.js:749
↓ 13 callersFunction_fail_services_init
Abort the CLI command when database/services could not be initialized.
src/codegraphcontext/cli/cli_helpers.py:45
↓ 13 callersMethod_get_node_text
(self, node)
src/codegraphcontext/tools/languages/cpp.py:138
↓ 13 callersMethod_strip_type_modifiers
Return the receiver type CGC can resolve, e.g. 'List<T>?' -> 'List'.
src/codegraphcontext/tools/languages/kotlin.py:56
↓ 13 callersMethodclear
()
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:259
↓ 13 callersMethodcopy
Create a shallow copy of the syntax tree. This is very fast.
website/public/wasm/web-tree-sitter.js:239
↓ 13 callersMethoddata
(self)
tests/unit/tools/test_cypher_query_readonly.py:23
next →1–100 of 4,973, ranked by callers