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
382 MiB
0 Stars 1 Watchers 0 Forks
v1.4.8
Latest
2026-12-01 09:48:45 +00:00
Languages
HTML 50.5%
Rust 42.2%
Shell 2.2%
Python 2.1%
TeX 1.9%
Other 1%