feat: start of better repo manager
This commit is contained in:
parent
421f6ae69b
commit
cc2dc9b28f
8 changed files with 85 additions and 22 deletions
|
|
@ -64,11 +64,11 @@ impl ReadFilter {
|
|||
pub fn extension(&self) -> Option<&str> {
|
||||
match self {
|
||||
ReadFilter::None => Some(""),
|
||||
ReadFilter::Gzip => Some(".gz"),
|
||||
ReadFilter::Bzip2 => Some(".bz2"),
|
||||
ReadFilter::Lzma => Some(".lzma"),
|
||||
ReadFilter::Xz => Some(".xz"),
|
||||
ReadFilter::Zstd => Some(".zst"),
|
||||
ReadFilter::Gzip => Some("gz"),
|
||||
ReadFilter::Bzip2 => Some("bz2"),
|
||||
ReadFilter::Lzma => Some("lzma"),
|
||||
ReadFilter::Xz => Some("xz"),
|
||||
ReadFilter::Zstd => Some("zst"),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue