sbp commented on issue #1177:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/1177#issuecomment-4262122130

   From 
[`detect.rs`](https://github.com/bug-ops/exarch/blob/main/crates/exarch-core/src/formats/detect.rs):
   
   ```rust
       let ext_lower = extension.to_ascii_lowercase();
       match ext_lower.as_str() {
           "tar" => Ok(ArchiveType::Tar),
           "gz" | "tgz" => {
               if let Some(stem) = path.file_stem()
                   && stem.to_string_lossy().ends_with(".tar")
               {
                   return Ok(ArchiveType::TarGz);
               }
               Ok(ArchiveType::TarGz)
           }
           "bz2" | "tbz" | "tbz2" => Ok(ArchiveType::TarBz2),
           "xz" | "txz" => Ok(ArchiveType::TarXz),
           "zst" | "tzst" => Ok(ArchiveType::TarZst),
           "zip" => Ok(ArchiveType::Zip),
           "7z" => Ok(ArchiveType::SevenZ),
           _ => Err(ExtractionError::UnsupportedFormat),
       }
   ```
   
   So it won't understand some of these other types.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to