Eric Coissac 097f7f0695 🔧 refactor cursor API and normalize chunking logic
- Change `rope_tell()` return type from Option<usize> to usize, always returning cursor's absolute position (offset if unmoved).
- Update all call sites to remove `.unwrap_or(...)` around `rope_tell()`.
- Add new method `<Rope>::truncate(pos)`, replacing `split_off(...).map(|_| ())`.
- Refactor FASTA/FASTQ normalizers to use a single mutable write cursor (`wc`) and document the protocol.
- Simplify `end_segment()` logic: commit segment with 0x00 if length ≥ k, else reset.
- Improve documentation for write-cursor protocol and rope truncation semantics.
2026-04-19 22:47:35 +02:00
2026-04-19 16:06:06 +02:00
S
Description
No description provided
Readme
228 MiB
v1.1.44
Latest
2026-08-11 21:04:49 +00:00
Languages
Rust 84.7%
Python 5.8%
Makefile 3%
Shell 2.7%
HTML 2.7%
Other 1.1%