Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeGraphContext/CodeGraphContext
/ functions
Functions
4,973 in github.com/CodeGraphContext/CodeGraphContext
⨍
Functions
4,973
◇
Types & classes
907
↳
Endpoints
28
↓ 497 callers
Method
get
(name: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:448
↓ 375 callers
Method
append
(_ item: Item)
tests/fixtures/sample_projects/sample_project_swift/Generics.swift:38
↓ 133 callers
Method
resolve
Return the file path of the best-matching Function among candidates.
src/codegraphcontext/tools/indexing/vector_resolver.py:115
↓ 115 callers
Method
print
(self, *args, **kwargs)
src/codegraphcontext/cli/config_manager.py:39
↓ 112 callers
Method
items
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1234
↓ 108 callers
Method
parse
(self, path: Path, _is_dependency: bool, index_source: bool = False)
tests/unit/tools/test_scip_pipeline_calls.py:29
↓ 105 callers
Function
next
()
website/src/components/TestimonialSection.tsx:38
↓ 101 callers
Method
add
(self, a, b)
tests/fixtures/sample_projects/sample_project/unicode_test.py:4
↓ 100 callers
Method
as_posix
(self)
tests/unit/tools/test_imports_map_race.py:20
↓ 93 callers
Function
execute_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 callers
Method
push
(&mut self, item: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:120
↓ 83 callers
Method
session
Proxy method to get a session from the underlying driver.
src/codegraphcontext/core/database.py:40
↓ 80 callers
Method
map
(fn: (a: A) => B)
tests/fixtures/sample_projects/sample_project_typescript/src/advanced-types.ts:236
↓ 77 callers
Method
resolve
(self)
tests/unit/tools/test_imports_map_race.py:17
↓ 77 callers
Function
warning_logger
Log warning message if log level allows
src/codegraphcontext/utils/debug_log.py:83
↓ 73 callers
Function
build_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 callers
Function
info_logger
Log info message if log level allows
src/codegraphcontext/utils/debug_log.py:73
↓ 70 callers
Function
marshalNode
(node, index = 0)
website/public/wasm/web-tree-sitter.js:1182
↓ 67 callers
Function
cn
(...inputs: ClassValue[])
website/src/lib/utils.ts:4
↓ 67 callers
Function
error_logger
Log error message if log level allows
src/codegraphcontext/utils/debug_log.py:78
↓ 57 callers
Method
error
(message: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:39
↓ 52 callers
Method
log
($msg)
tests/fixtures/sample_projects/sample_project_php/interface_traits.php:7
↓ 51 callers
Method
search
(query: string, limit = 30)
website/api/v1/lib/graph-engine.ts:150
↓ 49 callers
Method
update
(id: T[K], updates: Partial<T>)
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:150
↓ 45 callers
Function
_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 callers
Method
run
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 callers
Method
keys
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1231
↓ 41 callers
Method
close_driver
Closes the Neo4j driver connection if it exists.
src/codegraphcontext/core/database.py:165
↓ 41 callers
Function
marshalTreeCursor
(cursor, address = TRANSFER_BUFFER)
website/public/wasm/web-tree-sitter.js:1216
↓ 41 callers
Function
unmarshalNode
(tree, address = TRANSFER_BUFFER)
website/public/wasm/web-tree-sitter.js:1195
↓ 40 callers
Function
_write_and_parse
(parser, src: str, suffix: str = ".kt")
tests/unit/parsers/test_kotlin_parser.py:24
↓ 40 callers
Function
debug_log
Write debug message to a file if DEBUG_LOGS is enabled
src/codegraphcontext/utils/debug_log.py:55
↓ 40 callers
Method
get_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 callers
Method
pop
(&mut self)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:124
↓ 38 callers
Function
_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 callers
Function
get_tree_sitter_manager
Get the global TreeSitterManager instance (singleton pattern). Returns: The global TreeSitterManager instance
src/codegraphcontext/utils/tree_sitter_manager.py:293
↓ 37 callers
Function
_write_source
(root: Path, relative_path: str, src: str)
tests/unit/parsers/test_kotlin_parser.py:38
↓ 37 callers
Method
get_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 callers
Method
has
(name: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:449
↓ 37 callers
Function
pre_scan_kotlin
(files: list[Path], parser_wrapper)
src/codegraphcontext/tools/languages/kotlin.py:2117
↓ 37 callers
Method
run
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 callers
Method
values
(self)
src/codegraphcontext/core/database_embedded_kuzu.py:1237
↓ 35 callers
Method
data
(self)
src/codegraphcontext/core/database_falkordb.py:746
↓ 35 callers
Function
resolve
(call_dict, local_names=None, local_imports=None, imports_map=None, skip_external=False)
tests/unit/tools/test_calls_resolution_tiers.py:42
↓ 35 callers
Method
set
(&mut self, index: usize, value: T)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:376
↓ 34 callers
Function
get_backend_type
Determine the database backend type dynamically.
src/codegraphcontext/tools/indexing/persistence/utils.py:6
↓ 34 callers
Method
invoke
(Object proxy, Method method, Object[] args)
tests/fixtures/sample_projects/sample_project_java/src/com/example/app/ToughCases.java:145
↓ 33 callers
Function
_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 callers
Method
log
(message: string)
tests/fixtures/sample_projects/sample_project_typescript/src/modules-namespaces.ts:35
↓ 32 callers
Method
create_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 callers
Method
max
(&self)
tests/fixtures/sample_projects/sample_project_rust/src/traits.rs:204
↓ 31 callers
Method
add_column
(self, name, **_kwargs)
src/codegraphcontext/cli/config_manager.py:22
↓ 31 callers
Method
add_row
(self, *cells)
src/codegraphcontext/cli/config_manager.py:25
↓ 31 callers
Function
execute_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 callers
Method
push
(item: T)
tests/fixtures/sample_projects/sample_project_typescript/src/functions-generics.ts:195
↓ 27 callers
Function
traverse
(n: any)
website/src/lib/parser.worker.ts:537
↓ 26 callers
Function
Ok
(data: T)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:75
↓ 26 callers
Function
_parser
(manager, lang: str)
tests/unit/tools/test_cross_lang_call_resolution_patterns.py:51
↓ 25 callers
Function
get_config_value
Get a specific configuration value.
src/codegraphcontext/cli/config_manager.py:644
↓ 24 callers
Function
Err
(error: E)
tests/fixtures/sample_projects/sample_project_typescript/src/error-validation.ts:76
↓ 22 callers
Function
_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 callers
Function
_write_and_parse
Write src to a temp file and parse it.
tests/unit/parsers/test_java_parser.py:40
↓ 22 callers
Function
build_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 callers
Method
run
(self, statement: str, *args: Any, **kwargs: Any)
src/codegraphcontext/tools/indexing/schema.py:24
↓ 22 callers
Method
single
Return single result record as a FalkorDBRecord.
src/codegraphcontext/core/database_falkordb.py:771
↓ 21 callers
Function
_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 callers
Method
getValue
(e,t="i8")
website/public/wasm/tree-sitter-core.js:1
↓ 21 callers
Method
run
(self, statement, *args, **kwargs)
tests/unit/core/test_graph_layer_robustness.py:20
↓ 20 callers
Function
resolve_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 callers
Method
toString
Get the S-expression representation of this node.
website/public/wasm/web-tree-sitter.js:1161
↓ 19 callers
Function
fn
(e: WheelEvent)
website/src/components/FlowchartSVG.tsx:269
↓ 19 callers
Method
match_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 callers
Method
_get_node_text
(self, node: Any)
src/codegraphcontext/tools/languages/solidity.py:118
↓ 17 callers
Method
__new__
(mcls, name, bases, dct)
tests/fixtures/sample_projects/sample_project/advanced_classes.py:20
↓ 17 callers
Method
delete
(id: T[K])
tests/fixtures/sample_projects/sample_project_typescript/src/types-interfaces.ts:151
↓ 17 callers
Function
unmarshalTreeCursor
(cursor)
website/public/wasm/web-tree-sitter.js:1223
↓ 17 callers
Method
unwrap
(self)
tests/fixtures/sample_projects/sample_project_rust/src/generics.rs:241
↓ 16 callers
Function
__name
(target, value)
website/public/wasm/web-tree-sitter.js:2
↓ 16 callers
Method
_get_node_text
(self, node: Any)
src/codegraphcontext/tools/languages/kotlin.py:207
↓ 16 callers
Method
delete_repository_from_graph
(self, _)
tests/integration/cli/test_cli_commands.py:122
↓ 16 callers
Method
load
* 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 callers
Method
resolve
(self)
tests/unit/core/test_watcher_startup_sync.py:69
↓ 15 callers
Method
getRepoPathOverride
()
extensions/vscode/src/mcp/service.ts:17
↓ 15 callers
Method
values
(self)
tests/unit/cli/test_offline_visualization.py:27
↓ 14 callers
Function
_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 callers
Function
_local_names
(parsed: dict)
tests/unit/parsers/test_kotlin_parser.py:559
↓ 14 callers
Method
_reset_singleton
Reset the singleton so each test starts fresh.
tests/unit/core/test_database_falkordb_remote.py:15
↓ 14 callers
Method
close_driver
(self)
tests/unit/cli/test_analyze_complexity_file_path.py:20
↓ 14 callers
Method
from
(err: io::Error)
tests/fixtures/sample_projects/sample_project_rust/src/error_handling.rs:71
↓ 14 callers
Method
getLogger
Get the parser's current logger.
website/public/wasm/web-tree-sitter.js:3338
↓ 14 callers
Function
getValue
(ptr, type = "i8")
website/public/wasm/web-tree-sitter.js:1997
↓ 14 callers
Function
is_read_only_cypher
Return True when *query* has no write keywords outside string literals.
src/codegraphcontext/utils/cypher_readonly.py:71
↓ 14 callers
Method
parse
* 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 callers
Method
text
Get the string content of this node.
website/public/wasm/web-tree-sitter.js:749
↓ 13 callers
Function
_fail_services_init
Abort the CLI command when database/services could not be initialized.
src/codegraphcontext/cli/cli_helpers.py:45
↓ 13 callers
Method
_get_node_text
(self, node)
src/codegraphcontext/tools/languages/cpp.py:138
↓ 13 callers
Method
_strip_type_modifiers
Return the receiver type CGC can resolve, e.g. 'List<T>?' -> 'List'.
src/codegraphcontext/tools/languages/kotlin.py:56
↓ 13 callers
Method
clear
()
tests/fixtures/sample_projects/sample_project_typescript/src/async-promises.ts:259
↓ 13 callers
Method
copy
Create a shallow copy of the syntax tree. This is very fast.
website/public/wasm/web-tree-sitter.js:239
↓ 13 callers
Method
data
(self)
tests/unit/tools/test_cypher_query_readonly.py:23
next →
1–100 of 4,973, ranked by callers