Files
obikmer/DevDocMD/implementation/storage.refs.md
T
Eric Coissac 5c1584967f feat: enable index resumption and enforce directory creation
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.
2026-08-21 05:06:38 +02:00

19 lines
867 B
Markdown

<!-- coverage sidecar — ne pas ajouter au nav mkdocs -->
# Coverage: implementation/storage.md
## Code couvert
- `obikindex/src/meta.rs` — IndexMeta, IndexConfig (version, config, genomes)
- `obikindex/src/index.rs` — layout sur disque : partitions/, index.meta
- `obikindex/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` : champs `evidence` (EvidenceKind) et `block_bits` ajoutés
- Nouveau fichier `fingerprint.bin` pour l'évidence approximative
- `LayerMeta` / `layer_meta.json` introduit pour stocker EvidenceKind par layer
- Structure du répertoire layer : `evidence.bin` vs `fingerprint.bin` selon le mode
Mettre à jour le schéma de layout sur disque en conséquence.