this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(gz): remove unused gzip::EXT

+1 -4
-3
src/gzip.rs
··· 5 5 use std::io::{Read, Write}; 6 6 use std::path::Path; 7 7 8 - /// The standard extension for the gzip format. 9 - pub const EXT: &str = "gz"; 10 - 11 8 pub struct Gzip { 12 9 pub compression_level: u32, 13 10 pub common_args: CmprssCommonArgs,
+1 -1
src/main.rs
··· 160 160 "error: input appears to already be a {} archive, exiting. Use '--compress' if needed.", compressor.name() 161 161 ) 162 162 } else { 163 - let out = output_filename(input_path, &args.output, gzip::EXT); 163 + let out = output_filename(input_path, &args.output, compressor.extension()); 164 164 compressor.compress(File::open(input_path).unwrap(), File::create(out).unwrap()); 165 165 } 166 166 }