multi-hdd support (fix #218) #625

Merged
lx merged 26 commits from multihdd into next 2023-09-11 10:52:02 +00:00
Showing only changes of commit 3a74844df0 - Show all commits

View file

@ -276,8 +276,7 @@ fn dir_not_empty(path: &PathBuf) -> Result<bool, Error> {
.into_string() .into_string()
.ok() .ok()
.and_then(|hex| hex::decode(&hex).ok()) .and_then(|hex| hex::decode(&hex).ok())
.map(|bytes| (2..=4).contains(&bytes.len())) .is_some()
.unwrap_or(false)
{ {
return Ok(true); return Ok(true);
} }