Skip to content

Commit

Permalink
Merge branch '190n/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
fosskers committed Sep 29, 2024
2 parents 791b57e + a73caf1 commit 4481a29
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion rust/aura-core/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,20 @@ pub fn missing_tarballs<'a>(
pub fn is_package(path: &Path) -> bool {
path.to_str()
.map(|p| {
p.ends_with(".pkg.tar.zst") || p.ends_with(".pkg.tar.xz") || p.ends_with(".pkg.tar")
[
".pkg.tar.zst",
".pkg.tar.xz",
".pkg.tar",
".pkg.tar.lz4",
".pkg.tar.lz",
".pkg.tar.gz",
".pkg.tar.bz2",
".pkg.tar.lrz",
".pkg.tar.lzo",
".pkg.tar.Z",
]
.iter()
.any(|ext| p.ends_with(ext))
})
.unwrap_or(false)
}
Expand Down

0 comments on commit 4481a29

Please sign in to comment.