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
381 MiB
0 Stars 1 Watchers 0 Forks
v1.4.4
Latest
2026-11-17 14:44:32 +00:00
Languages
HTML 51.6%
Rust 41.8%
Python 2.1%
Shell 1.7%
TeX 1.7%
Other 1%