MCPcopy Create free account

hub / github.com/DeusData/codebase-memory-mcp / functions

Functions4,316 in github.com/DeusData/codebase-memory-mcp

↓ 2 callersFunctioncli_slurp_stream
Read an open stream fully into a heap, NUL-terminated string. Caller frees. * Returns NULL on allocation failure. Reads binary-clean (UTF-8 JSON, no
src/main.c:286
↓ 2 callersFunctioncodex_hook_strip
Splice out an existing [CODEX_HOOK_BEGIN .. CODEX_HOOK_END] block (inclusive, * plus a leading newline). Returns a newly-malloc'd string the caller f
src/cli/cli.c:1599
↓ 2 callersFunctioncollect_sorted_call_neighbors
Collect the CALLS-neighbor names of `node_id`, SORTED by name. The edge * arrays are in insertion order — which under parallel extraction varies run
src/pipeline/pass_semantic_edges.c:421
↓ 2 callersFunctioncolorForStatus
(status?: string)
graph-ui/src/lib/colors.ts:42
↓ 2 callersFunctioncommit_free
src/pipeline/pass_githistory.c:101
↓ 2 callersFunctionconfigure_pragmas
Configure connection pragmas. * in_memory — :memory: DB (synchronous OFF, no journal file). * read_only — query-only connection opened SQLITE_
src/store/store.c:367
↓ 2 callersFunctioncorpus_get_or_add
src/semantic/semantic.c:517
↓ 2 callersFunctioncp_count_label
Count nodes with a given label. */
tests/test_convergence_probe.c:260
↓ 2 callersFunctioncp_index_files
tests/test_convergence_probe.c:219
↓ 2 callersFunctioncr_cache_dir
src/pipeline/pass_cross_repo.c:55
↓ 2 callersFunctioncreate_user_indexes
src/store/store.c:320
↓ 2 callersFunctioncs_bind_parameters
internal/cbm/lsp/cs_lsp.c:1215
↓ 2 callersFunctioncs_collect_imports
internal/cbm/lsp/cs_lsp.c:2046
↓ 2 callersFunctioncs_collect_type_params
internal/cbm/lsp/cs_lsp.c:1699
↓ 2 callersFunctioncs_emit_resolved
internal/cbm/lsp/cs_lsp.c:1411
↓ 2 callersFunctioncs_fields_add_debug
internal/cbm/lsp/cs_lsp.c:2393
↓ 2 callersFunctioncs_lookup_extension
Search for a static extension method `M(this U self, ...)` accessible * via using-imported namespaces. Returns the func entry or NULL. */
internal/cbm/lsp/cs_lsp.c:506
↓ 2 callersFunctioncs_namespace_pop
internal/cbm/lsp/cs_lsp.c:266
↓ 2 callersFunctioncs_node_is
internal/cbm/lsp/cs_lsp.c:87
↓ 2 callersFunctioncs_process_local_decl
internal/cbm/lsp/cs_lsp.c:1258
↓ 2 callersFunctioncs_process_type_decl
internal/cbm/lsp/cs_lsp.c:1886
↓ 2 callersFunctioncs_register_lsp_defs
Register one batch of CBMLSPDef[] into a registry. Shared by the * per-file cross-LSP path and the Tier 2 pre-built registry builder. * Def-driven (
internal/cbm/lsp/cs_lsp.c:2884
↓ 2 callersFunctioncs_resolve_calls_in_node
internal/cbm/lsp/cs_lsp.c:1630
↓ 2 callersFunctioncs_substitute_type_params
internal/cbm/lsp/cs_lsp.c:1174
↓ 2 callersFunctiondef_json_escape_char
Append a JSON-escaped string value to buf at position *pos. * Writes: ,"key":"escaped_value" * Handles: \, ", \n, \r, \t */
src/pipeline/pass_definitions.c:116
↓ 2 callersFunctiondef_json_escaped_len
Escaped length of a string under def_json_escape_char's rules: escaped * characters expand to 2 bytes, everything else stays 1. */
src/pipeline/pass_definitions.c:151
↓ 2 callersFunctiondefer_state_free
Move a state onto the deferred-free list (caller holds projects_lock). * The state may still be referenced by a poll_once snapshot; poll_once * drai
src/watcher/watcher.c:266
↓ 2 callersFunctiondetectLanguage
(acceptLanguage?: string | null, override?: string | null)
graph-ui/src/lib/i18n.ts:156
↓ 2 callersFunctiondir_exists
src/cli/cli.c:1115
↓ 2 callersFunctiondistinct_list_add
Append `val` to a string list only if not already present — i.e. maintain a * set of distinct values. Used by COUNT(DISTINCT x) (#239). */
src/cypher/cypher.c:3405
↓ 2 callersFunctiondo_extract
Convenience extract wrapper. */
tests/test_extraction_imports.c:109
↓ 2 callersFunctiondownload
(url, dest)
pkg/npm/install.js:41
↓ 2 callersFunctiondump_edge_histogram
tests/test_lang_contract.c:858
↓ 2 callersFunctionedgeIntensityScale
(edgeCount: number)
graph-ui/src/lib/density.ts:17
↓ 2 callersFunctionedge_deep_copy
Deep copy an edge (binding owns the strings) */
src/cypher/cypher.c:2267
↓ 2 callersFunctionedge_fields_free
src/cypher/cypher.c:2274
↓ 2 callersFunctioneffective_worker_count
Effective worker count. The crash supervisor re-runs its worker single- * threaded (CBM_INDEX_SINGLE_THREAD=1) so a per-file marker can pin the EXACT
src/pipeline/pipeline.c:339
↓ 2 callersFunctionelixir_call_args
Get the "arguments" node for an Elixir call, with fallback to second child.
internal/cbm/extract_defs.c:4350
↓ 2 callersFunctionemit_cross_route_bidirectional
Emit CROSS_* edge for a route match: forward into source, reverse into target. */
src/pipeline/pass_cross_repo.c:344
↓ 2 callersFunctionemit_dep_edge
Emit a DEPENDS_ON edge from the manifest file node to a (shared, per-project) * external Package node. Mirrors the Helm Chart.yaml DEPENDS_ON shape.
src/pipeline/pass_k8s.c:486
↓ 2 callersFunctionemit_http_async_edge
src/pipeline/pass_calls.c:328
↓ 2 callersFunctionemit_infra_bindings
Emit infra bindings for each source × target pair combination.
internal/cbm/extract_unified.c:794
↓ 2 callersFunctionemit_py_aliased_import
Emit a Python aliased_import (import X as Y / from X import Y as Z).
internal/cbm/extract_imports.c:170
↓ 2 callersFunctionemit_resolved_reason
internal/cbm/lsp/php_lsp.c:1253
↓ 2 callersFunctionends_with
Check if a string ends with a suffix. */
src/pipeline/pass_pkgmap.c:185
↓ 2 callersFunctionenrich_node_properties
Enrich a mutable JSON object with key-value pairs from a node's properties_json. * Returns the parsed yyjson_doc (caller frees AFTER serialization —
src/mcp/mcp.c:4060
↓ 2 callersFunctionensure_parity_setup
tests/test_parallel.c:197
↓ 2 callersFunctionenv_positive_int
Shared env-int parser: a positive integer in [1, INT_MAX], else the fallback. * Read fresh each call (see cbm_max_file_bytes rationale — cheap, test-
src/foundation/limits.c:32
↓ 2 callersFunctiones_lang_cleanup
tests/test_edge_structural.c:220
↓ 2 callersFunctiones_lang_index_files
tests/test_edge_structural.c:194
↓ 2 callersFunctioneval_condition
Evaluate a WHERE condition against a binding */
src/cypher/cypher.c:2405
↓ 2 callersFunctioneval_expr
Recursive expression tree evaluator */
src/cypher/cypher.c:2480
↓ 2 callersFunctioneval_where
Evaluate WHERE clause — uses expression tree if available, falls back to legacy */
src/cypher/cypher.c:2500
↓ 2 callersFunctionextract_env_key_from_call
Extract env key from a function call like os.Getenv("KEY").
internal/cbm/extract_env_accesses.c:38
↓ 2 callersFunctionextract_env_key_from_member
Extract env key from member access like process.env.KEY or os.environ["KEY"].
internal/cbm/extract_env_accesses.c:84
↓ 2 callersFunctionextract_grpc_service_method
Extract gRPC service and method from a callee name. * Handles patterns like: pb.NewFooServiceClient(conn).GetBar → Foo/GetBar * Also: FooServiceGrpc
src/pipeline/pass_parallel.c:1807
↓ 2 callersFunctionextract_hcl_string_val
── HCL infrastructure binding extraction ─────────────────────────── * Scan HCL block nodes (resource, dynamic) for attribute pairs * where one is a
internal/cbm/extract_unified.c:879
↓ 2 callersFunctionextract_java_field_name
Helper: extract name from Java/C# field_declaration (declarator > name)
internal/cbm/extract_defs.c:4521
↓ 2 callersFunctionextract_one_import_header
--- Kotlin imports --- tree-sitter-kotlin nests imports: source_file -> import_list -> import_header*. parse_generic_imports only scans the DIRECT chi
internal/cbm/extract_imports.c:969
↓ 2 callersFunctionextract_param_type_refs
Extract parameter types from a parameters/formal_parameters node.
internal/cbm/extract_type_refs.c:125
↓ 2 callersFunctionextract_prop_string
Extract a string property from a properties JSON string. * Returns heap-allocated string or NULL. Caller must free. * Parses real JSON: the dump wri
src/graph_buffer/graph_buffer.c:1375
↓ 2 callersFunctionextract_return_type_refs
Extract return type references.
internal/cbm/extract_type_refs.c:138
↓ 2 callersFunctionextract_route_from_annotations
Scan the annotation nodes nested in a JVM/C# `modifiers`/`attribute_list` * wrapper (and direct children) for a route-mapping annotation. Java/Kotlin
internal/cbm/extract_defs.c:1612
↓ 2 callersFunctionextract_route_from_decorators
internal/cbm/extract_defs.c:1639
↓ 2 callersFunctionextract_route_path_from_args
Extract route path from decorator arguments (first string that starts with /).
internal/cbm/extract_defs.c:1366
↓ 2 callersFunctionextract_string_value
Extract string value from a node (literal or constant reference).
internal/cbm/extract_calls.c:1405
↓ 2 callersFunctionextract_text_content
Extract the inner "text" value from an MCP tool result JSON. * The MCP envelope is: {"content":[{"type":"text","text":"<inner json>"}]} * This retur
tests/test_mcp.c:2777
↓ 2 callersFunctionextract_throws_clause
Extract exception types from a Java-style throws clause.
internal/cbm/extract_semantic.c:78
↓ 2 callersFunctionextract_type_params_from_ast
Scan AST for generic function declarations and set type_param_names + re-parse return types on matching registered functions.
internal/cbm/lsp/go_lsp.c:2348
↓ 2 callersFunctionfadeFactor
(nodeCount: number)
graph-ui/src/lib/density.ts:33
↓ 2 callersFunctionfetchLayout
( project: string, maxNodes = GRAPH_RENDER_NODE_LIMIT, onProgress?: (progress: LoadProgress) => void, )
graph-ui/src/hooks/useGraphData.ts:35
↓ 2 callersFunctionfetch_leading_phpdoc
Walk siblings backwards from `node` to find a leading PHPDoc comment * ("/**...*​/"). Returns cleaned doc text or NULL. */
internal/cbm/lsp/php_lsp.c:792
↓ 2 callersFunctionfilter_bindings_where
Apply post-WITH WHERE filter */
src/cypher/cypher.c:3696
↓ 2 callersFunctionfind_cpp_template_inner_node
C++/CUDA: find inner function/declaration inside template_declaration. Returns the inner node (not the resolved name) to break the recursive cycle.
internal/cbm/extract_defs.c:589
↓ 2 callersFunctionfind_jvm_modifiers
Find the wrapper child that holds annotations/attributes for languages where they are nested under an intermediate node rather than being a prev-sibli
internal/cbm/extract_defs.c:1732
↓ 2 callersFunctionfind_resolved
Search resolved_calls for a match where caller contains callerSub * and callee contains calleeSub. Returns index or -1. */
tests/test_kotlin_lsp.c:49
↓ 2 callersFunctionfind_resolved
tests/test_php_lsp.c:30
↓ 2 callersFunctionfind_resolved
tests/test_cs_lsp.c:38
↓ 2 callersFunctionfind_resolved
tests/test_py_lsp.c:21
↓ 2 callersFunctionfind_resolved
Search resolved_calls for a match where caller contains callerSub * and callee contains calleeSub. Returns index or -1. */
tests/test_go_lsp.c:26
↓ 2 callersFunctionfind_resolved
tests/test_ts_lsp.c:51
↓ 2 callersFunctionfind_resolved
tests/test_rust_lsp.c:31
↓ 2 callersFunctionfind_resolved
tests/test_py_lsp_stress.c:22
↓ 2 callersFunctionfind_sam
internal/cbm/lsp/java_lsp.c:2150
↓ 2 callersFunctionfind_toml_key_name
Find TOML table key name from children.
internal/cbm/extract_defs.c:3312
↓ 2 callersFunctionflush_carriage
Flush pending \r line if needed. */
src/cli/progress_sink.c:85
↓ 2 callersFunctionformatGraphLimitNotice
(data: GraphData | null)
graph-ui/src/components/GraphTab.tsx:61
↓ 2 callersFunctionfp_ends_with
Check if file_path ends with a suffix. */
src/pipeline/pass_semantic.c:230
↓ 2 callersFunctionfree_import_map
src/pipeline/pass_calls.c:185
↓ 2 callersFunctionfree_node_contents
src/mcp/mcp.c:3126
↓ 2 callersFunctionfree_source
Free source buffer. */
src/pipeline/pass_parallel.c:311
↓ 2 callersFunctionget_decomp_buf
internal/cbm/ac.c:258
↓ 2 callersFunctiongh_api
(path)
scripts/audit-license-provenance.py:59
↓ 2 callersFunctiongit_file_count
Count tracked files via git ls-files */
src/watcher/watcher.c:214
↓ 2 callersFunctiongit_run
Run a git command inside dir, return 0 on success. */
tests/test_git_context.c:42
↓ 2 callersFunctiongo_lookup_field_or_method
internal/cbm/lsp/go_lsp.c:927
↓ 2 callersFunctiongo_process_statement
internal/cbm/lsp/go_lsp.c:934
↓ 2 callersFunctiongp_count_label
Count graph nodes by label. Returns -1 on query error. */
tests/test_grammar_probe_c.c:116
↓ 2 callersFunctiongpa_count_label
tests/test_grammar_probe_a.c:130
↓ 2 callersFunctiongpa_metrics_files
tests/test_grammar_probe_a.c:161
← previousnext →1,101–1,200 of 4,316, ranked by callers