refactor(rar): simplify list_archive logic and remove UnrarError
commitc3e37e22d12edc3f4b3b17960290db0a97a6cef3
authorttyS3 <ttys3.rust@gmail.com>
Fri, 6 Sep 2024 16:00:27 +0000 (6 16:00 +0000)
committerJoão Marcos <marcospb19@hotmail.com>
Sat, 7 Sep 2024 00:47:03 +0000 (6 21:47 -0300)
tree68bd4263b90516fd2da9ee923ebc6ce6e07838cf
parentf8f1439ec5b2f70e91eebd65eff291a98fadd189
refactor(rar): simplify list_archive logic and remove UnrarError

Simplify the list_archive function by combining archive creation and listing steps.
Remove the UnrarError variant from the Error enum as it's no longer used.
src/archive/rar.rs
src/error.rs