You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
letmut file = File::open("path/to/archive.rar");let dest = PathBuf::from("/tmp/dest");// returns "Extraction error: 'Can't decompress an entry marked as a directory'"uncompress_archive(&mut file, buf.as_path(),Ownership::Preserve)
The text was updated successfully, but these errors were encountered:
When you uncompress a
rar
archive the result returned is always an error even if it actually completed successfully.If it completed successfully the error return is always
Extraction error: 'Can't decompress an entry marked as a directory'
compress-tools: 0.15.1
rustc: >= 1.80.0 (051478957 2024-07-21) (confirmed on rustc 1.81.0 aswell)
OS: has been replicated on Arch linux and Windows.
real example from my project: https://github.com/R3alCl0ud/Rust4Diva/blob/v0.3.1/src/modmanagement.rs#L486
The text was updated successfully, but these errors were encountered: