Init indexed file
This commit is contained in:
8
lib/idx/constants.ts
Normal file
8
lib/idx/constants.ts
Normal 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;
|
||||
Reference in New Issue
Block a user