The command now supports reopening existing indexes instead of failing when the output file exists. Control flow branches between opening an existing index and constructing a new one, moving configuration setup exclusively to the creation path. Directory existence is enforced upfront with proper I/O error propagation. The --force flag retains its original semantics by removing the target directory before proceeding with a fresh build.
867 B
867 B
Coverage: implementation/storage.md
Code couvert
obikindex/src/meta.rs— IndexMeta, IndexConfig (version, config, genomes)obikindex/src/index.rs— layout sur disque : partitions/, index.metaobikindex/src/layer/meta.rs— LayerMeta (evidence kind), PartitionMeta (n_layers)obiskio/src/unitig_index.rs— fichiers unitigs.bin + unitigs.bin.idx
Notes
FORT RISQUE DE DÉRIVE. Nombreux champs ajoutés :
IndexConfig: champsevidence(EvidenceKind) etblock_bitsajoutés- Nouveau fichier
fingerprint.binpour l'évidence approximative LayerMeta/layer_meta.jsonintroduit pour stocker EvidenceKind par layer- Structure du répertoire layer :
evidence.binvsfingerprint.binselon le mode Mettre à jour le schéma de layout sur disque en conséquence.