refactor: consolidate imports for get_*_engine functions
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
use crate::compression_engine::CompressionType;
|
||||
use crate::compression_engine::get_compression_engine;
|
||||
use crate::compression_engine::{CompressionType, get_compression_engine};
|
||||
use libc::c_int;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use anyhow::anyhow;
|
||||
|
||||
use crate::compression_engine::CompressionType;
|
||||
use crate::compression_engine::get_compression_engine;
|
||||
use crate::compression_engine::{CompressionType, get_compression_engine};
|
||||
use clap::Command;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
||||
@@ -5,8 +5,7 @@ use clap::Command;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
||||
use crate::compression_engine::get_compression_engine;
|
||||
use crate::compression_engine::CompressionType;
|
||||
use crate::compression_engine::{get_compression_engine, CompressionType};
|
||||
use crate::db::{get_item, get_item_last, get_item_matching};
|
||||
use crate::modes::common::get_format_box_chars_no_border_line_separator;
|
||||
use chrono::prelude::*;
|
||||
|
||||
@@ -2,8 +2,7 @@ use anyhow::Result;
|
||||
use std::path::PathBuf;
|
||||
use std::str::FromStr;
|
||||
|
||||
use crate::compression_engine::CompressionType;
|
||||
use crate::compression_engine::get_compression_engine;
|
||||
use crate::compression_engine::{CompressionType, get_compression_engine};
|
||||
use crate::db;
|
||||
use clap::error::ErrorKind;
|
||||
use clap::Command;
|
||||
|
||||
Reference in New Issue
Block a user