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.
13 lines
453 B
Markdown
13 lines
453 B
Markdown
<!-- coverage sidecar — ne pas ajouter au nav mkdocs -->
|
|
# Coverage: theory/indexing.md
|
|
|
|
## Code couvert
|
|
|
|
- `obikindex/src/partition/partition.rs` — routage par hash de minimiseur, choix des paramètres
|
|
- `obikindex/src/partition/mod.rs` — structure KmerPartition, nombre de partitions
|
|
|
|
## Notes
|
|
|
|
Vérifier que la doc mentionne bien que le nombre de partitions est une puissance de 2
|
|
(converti par `partitions_to_bits` dans `obikmer/src/cli.rs`).
|