(cmd: &mut BuiltinCommand)
| 43 | } |
| 44 | |
| 45 | pub(crate) fn build_compression(cmd: &mut BuiltinCommand) -> Result<Compression, anyhow::Error> { |
| 46 | match cmd.args.opt_string("compression") { |
| 47 | Some(s) => s.parse(), |
| 48 | None => Ok(Compression::None), |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | /// Returns an iterator of lines that form the content of a file. |
| 53 | pub(crate) fn build_contents( |
no test coverage detected