Expand description
Index file format constants and header parsing.
All integers little-endian. All offsets absolute from file start. Sections aligned to 8-byte boundaries.
Modules§
- flags
- Header flags
Structs§
Enums§
- File
Status - File status in the file table
Constants§
- FILE_
ENTRY_ SIZE - File entry size in bytes
- HEADER_
SIZE - Fixed header size (256 bytes)
- MAGIC
- Magic bytes: ASCII “IX01”
- TRIGRAM_
ENTRY_ SIZE - Trigram entry size in bytes (u32 key + 16-byte existing entry)
- VERSION_
MAJOR - Current format version
- VERSION_
MINOR
Functions§
- is_
binary - Centralized binary file detection.