Expand description
Cache management and memory-mapped I/O
The cache module handles the .reflex/ directory structure:
meta.db: Metadata, file hashes, and configuration (SQLite)tokens.bin: Compressed lexical tokens (binary)content.bin: Memory-mapped file contents (binary)trigrams.bin: Trigram inverted index (bincode binary)config.toml: Index settings (TOML text)
Structs§
- Branch
Info - Branch metadata information
- Cache
Manager - Manages the Reflex cache directory
Constants§
- CACHE_
DIR - Default cache directory name
- CONFIG_
TOML - HASHES_
JSON - META_DB
- File names within the cache directory
- TOKENS_
BIN