Init indexed file

This commit is contained in:
Eli-Class
2026-01-27 02:30:42 +00:00
commit 1d13e9fc3e
22 changed files with 2812 additions and 0 deletions

8
lib/idx/constants.ts Normal file
View File

@@ -0,0 +1,8 @@
// src/index-file/constants.ts
export const INDEX_MAGIC = 'INDX';
export const INDEX_VERSION = 1;
export const INDEX_HEADER_SIZE = 64;
export const INDEX_ENTRY_SIZE = 32;
export const FLAG_VALID = 0x0001;
export const FLAG_DELETED = 0x0002;