Fixing yet another instance of `&name[2..]` (replaced with the encoding detector)
Dependencies
- [2]
YN63NUZOSanakirja 1.0 - [3]
VO5OQW4WRemoving anyhow in libpijul - [4]
I52XSRUHMassive cleanup, and simplification - [5]
IIV3EL2XCleanup, formatting, and fixing the Git feature - [6]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting). - [7]
3AMEP2Y5More convenient interface for channels - [8]
CCLLB7OIUpgrading to Sanakirja 0.15 + version bump - [9]
GHO6DWPIRefactoring iterators
Change contents
- replacement in libpijul/src/fs.rs at line 819[3.32253]→[3.759934:760027](∅→∅),[3.113643]→[3.759934:760027](∅→∅),[3.759934]→[3.759934:760027](∅→∅),[3.760027]→[2.132908:132987](∅→∅),[3.6074]→[3.760104:760467](∅→∅),[3.62880]→[3.760104:760467](∅→∅),[2.132987]→[3.760104:760467](∅→∅),[3.760104]→[3.760104:760467](∅→∅)
if std::str::from_utf8(&name_buf[2..]) == Ok(c) {let age = txn.get_changeset(txn.changes(&channel), &name.dest().change).unwrap();if let Some((ref mut next, ref mut next_age)) = next {ambiguous = true;if age < *next_age {*next = name_dest;*next_age = age;}} else {next = Some((name_dest, age));let FileMetadata { basename, .. } = FileMetadata::read(&name_buf);let age = txn.get_changeset(txn.changes(&channel), &name.dest().change).unwrap();if let Some((ref mut next, ref mut next_age)) = next {ambiguous = true;if age < *next_age {*next = name_dest;*next_age = age; - edit in libpijul/src/fs.rs at line 829
} else {next = Some((name_dest, age));