Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Durafen/Claude-code-memory
/ functions
Functions
1,001 in github.com/Durafen/Claude-code-memory
⨍
Functions
1,001
◇
Types & classes
142
↳
Endpoints
24
↓ 81 callers
Method
exists
Check if project config exists.
claude_indexer/config/project_config.py:26
↓ 65 callers
Method
count
Count total points in collection - test compatibility method.
claude_indexer/storage/qdrant.py:1142
↓ 59 callers
Function
load_config
Load configuration from multiple sources with precedence. Maintains backward compatibility with old signature. Args: settings_file:
claude_indexer/config/config_loader.py:148
↓ 46 callers
Method
extract_node_text
Extract text from tree-sitter node.
claude_indexer/analysis/base_parsers.py:57
↓ 46 callers
Function
get_logger
Get the global logger instance.
claude_indexer/indexer_logging.py:108
↓ 44 callers
Method
search
Legacy search interface for test compatibility.
claude_indexer/storage/qdrant.py:1160
↓ 43 callers
Method
index_project
Index an entire project with automatic incremental detection.
claude_indexer/indexer.py:374
↓ 35 callers
Method
load
Load unified configuration from all sources. Precedence (highest to lowest): 1. Explicit overrides 2. Environment variables
claude_indexer/config/config_loader.py:23
↓ 29 callers
Method
embed_single
Legacy method for backward compatibility.
tests/conftest.py:277
↓ 25 callers
Method
_find_nodes_by_type
Recursively find all nodes matching given types.
claude_indexer/analysis/parser.py:1183
↓ 21 callers
Method
_load_state
Load previous indexing state.
claude_indexer/indexer.py:1522
↓ 20 callers
Function
format_change
Format a change value with +/- indicator.
claude_indexer/indexer.py:22
↓ 17 callers
Method
create_imports_relation
Create an 'imports' relationship.
claude_indexer/analysis/entities.py:561
↓ 16 callers
Method
_create_chunk_id
Create deterministic chunk ID following existing pattern.
claude_indexer/analysis/parser.py:104
↓ 15 callers
Method
_get_state_file
Get collection-specific state file with simple naming.
claude_indexer/indexer.py:340
↓ 13 callers
Method
create_contains_relation
Create a 'contains' relationship.
claude_indexer/analysis/entities.py:549
↓ 12 callers
Method
_update_state
Update state file by merging new files with existing state, or do full rebuild.
claude_indexer/indexer.py:1595
↓ 12 callers
Method
save_debug_info
Save debug information to last updated log file (keeps 3 files).
utils/memory_guard.py:249
↓ 11 callers
Method
register
Register a new parser.
claude_indexer/analysis/parser.py:2225
↓ 10 callers
Method
_find_all_files
Find all files matching project patterns.
claude_indexer/indexer.py:820
↓ 10 callers
Method
_get_current_state
Get current state of files.
claude_indexer/indexer.py:1485
↓ 10 callers
Method
_get_file_hash
Get SHA256 hash of file contents.
claude_indexer/indexer.py:1510
↓ 10 callers
Method
_get_file_hash
Calculate SHA256 hash of file contents.
claude_indexer/analysis/parser.py:252
↓ 10 callers
Function
create_embedder_from_config
Create embedder from configuration (IndexerConfig or dict).
claude_indexer/embeddings/registry.py:87
↓ 10 callers
Method
start
Start file watching using IndexingEventHandler.
claude_indexer/watcher/handler.py:478
↓ 10 callers
Method
success_result
Create a successful processing result.
claude_indexer/processing/results.py:25
↓ 9 callers
Method
_cleanup_orphaned_relations
Clean up relations that reference non-existent entities. Uses a single atomic query to get a consistent snapshot of the database, avo
claude_indexer/storage/qdrant.py:1937
↓ 9 callers
Method
_create_file_entity
Create file entity using EntityFactory pattern.
claude_indexer/analysis/base_parsers.py:94
↓ 9 callers
Method
_extract_array_items
Extract individual items from a content array.
claude_indexer/analysis/json_parser.py:420
↓ 9 callers
Method
_scroll_collection
Unified scroll method for retrieving points from a collection. Args: collection_name: Name of the collection to scroll
claude_indexer/storage/qdrant.py:1204
↓ 9 callers
Method
_should_include_variable
Enhanced scope filtering - exclude function-local and block-scoped variables. Only include module-level variables (like Python parser
claude_indexer/analysis/javascript_parser.py:1106
↓ 9 callers
Method
can_parse
Check if this is a Markdown file.
claude_indexer/analysis/parser.py:1505
↓ 9 callers
Method
collection_exists
Check if collection exists.
claude_indexer/storage/qdrant.py:262
↓ 9 callers
Function
load_legacy_settings
Load configuration from legacy settings.txt format.
claude_indexer/config/legacy.py:12
↓ 8 callers
Method
_estimate_tokens_with_tiktoken
Accurate token count using tiktoken with fallback.
claude_indexer/embeddings/base.py:79
↓ 8 callers
Method
_get_attribute_value
Get the value of an attribute from an HTML element.
claude_indexer/analysis/html_parser.py:270
↓ 8 callers
Method
can_parse
Check if this is a Python file.
claude_indexer/analysis/parser.py:149
↓ 8 callers
Function
create_store_from_config
Create vector store from configuration (IndexerConfig or dict).
claude_indexer/storage/registry.py:56
↓ 8 callers
Function
no_errors_in_logs
Helper function to check if there are no errors in the log output.
tests/integration/test_indexer_flow.py:19
↓ 8 callers
Method
stop
Stop file watching and cleanup.
claude_indexer/watcher/handler.py:553
↓ 8 callers
Function
verify_entity_searchable
Verify that a specific entity is indexed and searchable. Args: qdrant_store: QdrantStore instance dummy_embedder: Embedder f
tests/conftest.py:682
↓ 7 callers
Method
_create_variable_entity
Helper to create variable entity with consistent structure.
claude_indexer/analysis/javascript_parser.py:1140
↓ 7 callers
Method
parse
Parse Python file using Tree-sitter and Jedi.
claude_indexer/analysis/parser.py:157
↓ 7 callers
Method
parse
(self, file_path: Path)
tests/unit/test_parser.py:501
↓ 7 callers
Function
wait_for_eventual_consistency
Wait for Qdrant eventual consistency by retrying searches until entities are properly deleted. Args: search_func: Function that retu
tests/conftest.py:536
↓ 6 callers
Method
_estimate_tokens
Accurate token estimation using tiktoken.
claude_indexer/embeddings/openai.py:109
↓ 6 callers
Method
_has_syntax_errors
Check if the parse tree contains syntax errors.
claude_indexer/analysis/parser.py:275
↓ 6 callers
Method
_preprocess_text
Preprocess text into tokens.
claude_indexer/embeddings/bm25.py:163
↓ 6 callers
Method
create_file_entity
Create a file entity with standard observations.
claude_indexer/analysis/entities.py:444
↓ 6 callers
Method
generate_deterministic_id
Generate deterministic ID from content (same as base.py).
claude_indexer/storage/qdrant.py:1423
↓ 6 callers
Method
load_config
Load service configuration from file.
claude_indexer/service.py:41
↓ 5 callers
Method
_calculate_cost
Calculate estimated cost for token count.
claude_indexer/embeddings/openai.py:113
↓ 5 callers
Method
_extract_function_name
Extract function name from various function node types.
claude_indexer/analysis/javascript_parser.py:282
↓ 5 callers
Method
_handle_file_event
Process a file system event by adding it to the coalescer.
claude_indexer/watcher/handler.py:102
↓ 5 callers
Method
collection_exists
Check if collection exists.
claude_indexer/storage/base.py:112
↓ 5 callers
Method
create_inherits_relation
Create an 'inherits' relationship.
claude_indexer/analysis/entities.py:586
↓ 5 callers
Method
embed_text
Generate embedding for a single text.
claude_indexer/embeddings/openai.py:118
↓ 5 callers
Method
get_chat_files
Get all JSONL files for a project.
claude_indexer/chat/parser.py:96
↓ 5 callers
Method
get_parser_for_file
Get the appropriate parser for a file.
claude_indexer/analysis/parser.py:2229
↓ 5 callers
Method
load
Load project configuration.
claude_indexer/config/project_config.py:30
↓ 5 callers
Method
parse
Parse the file and extract entities and relations.
claude_indexer/analysis/parser.py:95
↓ 5 callers
Method
parse
Parse Markdown file to extract documentation entities.
claude_indexer/analysis/parser.py:1513
↓ 5 callers
Method
parse_file
Parse a file using the appropriate parser.
claude_indexer/analysis/parser.py:2236
↓ 5 callers
Method
parse_jsonl
Parse a single JSONL file into a conversation.
claude_indexer/chat/parser.py:110
↓ 5 callers
Method
parse_tree
Parse content into tree-sitter AST.
claude_indexer/analysis/base_parsers.py:53
↓ 5 callers
Method
search_similar
Search for similar entities/relations. Args: collection_name: Name of the collection to search query: Search query te
claude_indexer/indexer.py:741
↓ 5 callers
Method
stop
Stop the background service.
claude_indexer/service.py:207
↓ 5 callers
Method
to_vector_payload
Convert chat chunk to vector storage payload.
claude_indexer/analysis/entities.py:328
↓ 5 callers
Method
truncate_text
Truncate text to fit within token limits.
claude_indexer/embeddings/base.py:120
↓ 4 callers
Method
_check_rate_limits
Check and enforce rate limits.
claude_indexer/embeddings/openai.py:80
↓ 4 callers
Method
_embed_with_retry
Execute embedding operation with retry logic.
claude_indexer/embeddings/base.py:216
↓ 4 callers
Method
_flush_pending
Process all pending events.
claude_indexer/watcher/debounce.py:103
↓ 4 callers
Method
_is_internal_import
Check if an import is internal to the project by checking if the module file exists.
claude_indexer/analysis/parser.py:753
↓ 4 callers
Method
_is_meaningful_by_structure
Determine meaningfulness using AST structural heuristics.
claude_indexer/analysis/observation_extractor.py:454
↓ 4 callers
Method
_load_previous_statistics
Load previous run statistics from state file.
claude_indexer/indexer.py:1539
↓ 4 callers
Method
_prepare_git_meta_context
Unified Git+Meta setup for ALL indexing flows.
claude_indexer/indexer.py:212
↓ 4 callers
Method
_store_vectors
Store entities, relations, and implementation chunks with Git+Meta content deduplication.
claude_indexer/indexer.py:1374
↓ 4 callers
Method
clear_collection
Clear collection data. By default, preserves manually-added memories. Args: collection_name: Name of the collection p
claude_indexer/storage/qdrant.py:1303
↓ 4 callers
Method
compute_content_hash
Generate SHA256 hash of content
claude_indexer/storage/qdrant.py:56
↓ 4 callers
Method
create_collection
Create a new Qdrant collection.
claude_indexer/storage/qdrant.py:152
↓ 4 callers
Method
dimension
Get the dimensionality of the embedding vector.
claude_indexer/embeddings/base.py:40
↓ 4 callers
Method
embed_batch
Generate embeddings for multiple texts with enhanced token-based batching.
claude_indexer/embeddings/openai.py:162
↓ 4 callers
Method
embed_text
Generate embedding for a single text.
claude_indexer/embeddings/base.py:101
↓ 4 callers
Method
ensure_collection
Ensure collection exists, create if necessary.
claude_indexer/storage/base.py:204
↓ 4 callers
Method
get_collection_stats
Get detailed statistics for a collection.
utils/qdrant_stats.py:46
↓ 4 callers
Method
search_similar
Search for similar vectors.
claude_indexer/storage/qdrant.py:827
↓ 4 callers
Function
setup_logging
Setup global logging configuration.
claude_indexer/indexer_logging.py:40
↓ 4 callers
Method
start
Start the background service.
claude_indexer/service.py:161
↓ 4 callers
Method
upsert_points
Insert or update points in the collection with improved reliability.
claude_indexer/storage/qdrant.py:297
↓ 4 callers
Function
validate_state_file_structure
Validate state file JSON structure and file contents.
tests/integration/test_indexer_flow.py:61
↓ 3 callers
Method
_calculate_cost
Calculate estimated cost for token count.
claude_indexer/embeddings/voyage.py:126
↓ 3 callers
Function
_create_indexer_components
Create common indexer components (project, logger, config, embedder, vector_store, indexer). Args: project_path: Path to the project root
claude_indexer/main.py:14
↓ 3 callers
Method
_detect_mcp_collection
Detect the MCP collection name for this project.
utils/memory_guard.py:228
↓ 3 callers
Method
_detect_project_root
Detect the project root directory using Claude-first weighted scoring.
utils/memory_guard.py:189
↓ 3 callers
Method
_estimate_tokens
Accurate token estimation using tiktoken (cl100k_base).
claude_indexer/embeddings/voyage.py:122
↓ 3 callers
Method
_extract_function_calls_from_source
Extract function calls from source code using regex.
claude_indexer/analysis/parser.py:1109
↓ 3 callers
Method
_extract_item_content
Extract meaningful text content from a content item.
claude_indexer/analysis/json_parser.py:511
↓ 3 callers
Method
_extract_python_entities
Extract Python function and class names.
utils/memory_guard.py:115
↓ 3 callers
Method
_extract_yaml_mapping_keys
Extract keys from a YAML mapping under a parent key.
claude_indexer/analysis/yaml_parser.py:270
↓ 3 callers
Method
_extract_yaml_value
Extract a value from YAML by key path (e.g., 'metadata.name').
claude_indexer/analysis/yaml_parser.py:254
next →
1–100 of 1,001, ranked by callers