MCPcopy Create free account

hub / github.com/CodeGraphContext/CodeGraphContext / functions

Functions4,532 in github.com/CodeGraphContext/CodeGraphContext

↓ 430 callersMethodget
(name: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:448
↓ 336 callersMethodappend
(_ item: Item)
tests/fixtures/sample_projects/sample_project_swift/Generics.swift:38
↓ 124 callersMethodresolve
Return the file path of the best-matching Function among candidates.
src/codegraphcontext/tools/indexing/vector_resolver.py:115
↓ 103 callersMethoditems
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1188
↓ 102 callersMethodprint
(self, *args, **kwargs)
src/codegraphcontext/cli/config_manager.py:39
↓ 94 callersFunctionnext
()
website/src/components/TestimonialSection.tsx:38
↓ 92 callersMethodpush
(&mut self, item: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:120
↓ 87 callersMethodadd
(self, a, b)
tests/fixtures/sample_projects/sample_project/unicode_test.py:4
↓ 86 callersMethodparse
(self, path: Path, _is_dependency: bool, index_source: bool = False)
tests/unit/tools/test_scip_pipeline_calls.py:29
↓ 85 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:315
↓ 84 callersMethodresolve
(self)
tests/unit/tools/test_imports_map_race.py:17
↓ 80 callersMethodmap
(fn: (a: A) => B)
tests/fixtures/sample_projects/sample_project_typescript/src/advanced-types.ts:236
↓ 78 callersMethodsession
Proxy method to get a session from the underlying driver.
src/codegraphcontext/core/database.py:40
↓ 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:1648
↓ 70 callersFunctionmarshalNode
(node, index = 0)
website/public/wasm/web-tree-sitter.js:1182
↓ 70 callersFunctionwarning_logger
Log warning message if log level allows
src/codegraphcontext/utils/debug_log.py:83
↓ 69 callersMethodas_posix
(self)
tests/unit/tools/test_imports_map_race.py:20
↓ 67 callersFunctioncn
(...inputs: ClassValue[])
website/src/lib/utils.ts:4
↓ 66 callersFunctioninfo_logger
Log info message if log level allows
src/codegraphcontext/utils/debug_log.py:73
↓ 60 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
↓ 50 callersMethodupdate
(id: T[K], updates: Partial<T>)
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:150
↓ 47 callersMethodsearch
(query: string, limit = 30)
website/api/v1/lib/graph-engine.ts:150
↓ 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
↓ 44 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:294
↓ 42 callersMethodkeys
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1185
↓ 42 callersMethodvalues
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1191
↓ 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
↓ 39 callersFunctiondebug_log
Write debug message to a file if DEBUG_LOGS is enabled
src/codegraphcontext/utils/debug_log.py:55
↓ 37 callersFunction_write_source
(root: Path, relative_path: str, src: str)
tests/unit/parsers/test_kotlin_parser.py:38
↓ 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
↓ 36 callersMethodclose_driver
Closes the Neo4j driver connection if it exists.
src/codegraphcontext/core/database.py:161
↓ 35 callersFunctionget_backend_type
Determine the database backend type dynamically.
src/codegraphcontext/tools/indexing/persistence/utils.py:6
↓ 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 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:125
↓ 34 callersMethodget_driver
Gets the Neo4j driver instance, creating it if it doesn't exist. This method is thread-safe. Raises: ValueError:
src/codegraphcontext/core/database.py:85
↓ 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:80
↓ 33 callersMethoddata
(self)
src/codegraphcontext/core/database_falkordb.py:608
↓ 33 callersFunctionget_tree_sitter_manager
Get the global TreeSitterManager instance (singleton pattern). Returns: The global TreeSitterManager instance
src/codegraphcontext/utils/tree_sitter_manager.py:286
↓ 33 callersMethodlog
(message: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:35
↓ 32 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
↓ 32 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:173
↓ 32 callersMethodpop
(&mut self)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:124
↓ 32 callersMethodrun
Execute a Cypher query on FalkorDB.
src/codegraphcontext/core/database_falkordb.py:494
↓ 31 callersMethodmax
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/traits.rs:204
↓ 30 callersMethodpush
(item: T)
tests/fixtures/sample_projects/sample_project_typescript/src/functions-generics.ts:195
↓ 29 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:220
↓ 28 callersMethodrun
(self, query, **kwargs)
tests/unit/tools/test_cypher_query_readonly.py:36
↓ 27 callersMethodadd_column
(self, name, **_kwargs)
src/codegraphcontext/cli/config_manager.py:22
↓ 27 callersMethodadd_row
(self, *cells)
src/codegraphcontext/cli/config_manager.py:25
↓ 27 callersMethodrun
Generate and persist embeddings for all un-embedded Function nodes in repo.
src/codegraphcontext/tools/indexing/embeddings.py:237
↓ 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 callersFunctiontraverse
(n: any)
website/src/lib/parser.worker.ts:537
↓ 24 callersFunctionErr
(error: E)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:76
↓ 23 callersMethodinvoke
(Object proxy, Method method, Object[] args)
tests/fixtures/sample_projects/sample_project_java/src/com/example/app/ToughCases.java:145
↓ 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 callersFunctionget_config_value
Get a specific configuration value.
src/codegraphcontext/cli/config_manager.py:611
↓ 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 callersMethodsingle
Return single result record as a FalkorDBRecord.
src/codegraphcontext/core/database_falkordb.py:633
↓ 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:101
↓ 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
↓ 17 callersMethoddelete
(id: T[K])
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:151
↓ 17 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:186
↓ 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 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:58
↓ 16 callersMethoddelete_repository_from_graph
(self, _)
tests/integration/cli/test_cli_commands.py:122
↓ 15 callersMethodgetRepoPathOverride
()
extensions/vscode/src/mcp/service.ts:17
↓ 15 callersMethodrun
(self, query, **kwargs)
tests/integration/cli/test_cli_commands.py:102
↓ 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 callersMethodfrom
(err: io::Error)
tests/fixtures/sample_projects/sample_project_rust/src/error_handling.rs:71
↓ 14 callersFunctiongetValue
(ptr, type = "i8")
website/public/wasm/web-tree-sitter.js:1997
↓ 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 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
↓ 12 callersFunction_config_map
Return a get_config_value side_effect that serves fixed values.
tests/unit/tools/test_prompt_truncation_safety.py:89
↓ 12 callersMethod_get_node_text
(self, node: Any)
src/codegraphcontext/tools/languages/lua.py:27
↓ 12 callersMethod_get_node_text
(self, node)
src/codegraphcontext/tools/languages/python.py:75
↓ 12 callersMethod_get_node_text
(self, node)
src/codegraphcontext/tools/languages/go.py:85
↓ 12 callersMethod_is_file_path
Mirror the logic in analyze_complexity.
tests/unit/cli/test_analyze_complexity_file_path.py:66
↓ 12 callersMethod_named_children
(self, node: Any)
src/codegraphcontext/tools/languages/elisp.py:136
↓ 12 callersMethodcopy
Create a shallow copy of the syntax tree. This is very fast.
website/public/wasm/web-tree-sitter.js:239
↓ 12 callersMethodinsert
(value: T)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:126
↓ 12 callersMethodis_language_available
Check if a language is available without raising exceptions. Args: lang: Language name Retu
src/codegraphcontext/utils/tree_sitter_manager.py:255
next →1–100 of 4,532, ranked by callers