feat: update file access error handling and improve script downloads

fix: correct file size retrieval in bitrot verification
chore: remove deprecated run.bat and add run.ps1 script
This commit is contained in:
Damonxue
2025-04-08 17:32:12 +08:00
parent 99b473e229
commit 0ed8a8dd19
8 changed files with 79 additions and 62 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
#![allow(unsafe_code)] // TODO: audit unsafe code
use super::IOStats;
use crate::{disk::Info, error::Result};
use crate::disk::Info;
use common::error::Result;
use std::io::{Error, ErrorKind};
use std::mem;
use std::os::windows::ffi::OsStrExt;