removed duplicate Archives pattern in extension_set.rs

This commit is contained in:
Lynne Megido 2021-04-14 19:17:41 +10:00
parent 2713083a82
commit 83091c754d
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
2 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ Dates are given in YYYY-MM-DD format.
- Added Apple iWork document formats to documents extension set - Added Apple iWork document formats to documents extension set
- Cleaned up and properly documented tests - Cleaned up and properly documented tests
- Renamed `Script` (in `formats.rs`) to `Shell`, in line with renaming in `paramaters.rs` - Renamed `Script` (in `formats.rs`) to `Shell`, in line with renaming in `paramaters.rs`
- Added .rpa (renpy archive) support - Added .rpa (Ren'Py archive) support to infer backend
- Added system extension set - Added system extension set
### v0.2.12 (2021-04-14) ### v0.2.12 (2021-04-14)

View file

@ -43,9 +43,10 @@ impl ExtensionSet {
// many compressed file types follow the name scheme "application/x.+compressed.*" - maybe this can be used // many compressed file types follow the name scheme "application/x.+compressed.*" - maybe this can be used
// somehow to extract extensions for compressed files from mime_guess? // somehow to extract extensions for compressed files from mime_guess?
Self::Archives => vec!["zip", "tar", "gz", "zst", "xz", "rar", "7z", "bz", "bz2", "tgz", "rpa"], Self::Archives => vec!["zip", "tar", "gz", "zst", "xz", "rar", "7z", "bz", "bz2", "tgz", "rpa"],
Self::System => vec!["com", "dll", "exe", "sys", "reg", "nt", "cpl", "msi", "efi", "bio", "rcv", "mbr", "sbf", "grub", "ko", "dylib", "pdb", "hdmp", "crash", Self::System => vec![
"com", "dll", "exe", "sys", "reg", "nt", "cpl", "msi", "efi", "bio", "rcv", "mbr", "sbf", "grub", "ko",
"dylib", "pdb", "hdmp", "crash",
], ],
Self::Archives => vec!["zip", "tar", "gz", "zst", "xz", "rar", "7z", "bz", "bz2", "tgz"],
} }
} }
} }