Module cache

Module cache 

Source
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§

BranchInfo
Branch metadata information
CacheManager
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