v0.11.16: API cleanup — one method per action

This commit is contained in:
Matt Jackson
2026-04-21 19:17:50 +00:00
parent 8843833ea7
commit 40ec1e1eba
18 changed files with 83 additions and 99 deletions
+3 -3
View File
@@ -113,7 +113,7 @@ pub fn verify_title(
let batch_start = Instant::now();
let batch_ok = reader
.read_sectors_recover(lba, count, &mut buf[..bytes], false)
.read_sectors(lba, count, &mut buf[..bytes], false)
.is_ok();
let batch_ms = batch_start.elapsed().as_millis();
@@ -155,7 +155,7 @@ pub fn verify_title(
let s1 = Instant::now();
let first_ok = reader
.read_sectors_recover(
.read_sectors(
sector_lba,
1,
&mut buf[sector_offset..sector_offset + 2048],
@@ -174,7 +174,7 @@ pub fn verify_title(
// Retry once more after brief pause
std::thread::sleep(std::time::Duration::from_secs(2));
if reader
.read_sectors_recover(
.read_sectors(
sector_lba,
1,
&mut buf[sector_offset..sector_offset + 2048],