refactor: remove unused imports from various files
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
use anyhow::anyhow;
|
||||
|
||||
use crate::compression::CompressionType;
|
||||
// use std::io::BufWriter; // Removed unused import
|
||||
use crate::modes::common::ColumnType;
|
||||
use clap::Command;
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -7,7 +7,7 @@ use std::str::FromStr;
|
||||
use crate::compression::get_engine;
|
||||
use crate::compression::CompressionType;
|
||||
use crate::db::{get_item, get_item_last, get_item_matching};
|
||||
use crate::modes::common::{format_size, get_format_box_chars_no_border_line_separator}; // Add function import
|
||||
use crate::modes::common::{format_size, get_format_box_chars_no_border_line_separator};
|
||||
use chrono::prelude::*;
|
||||
use is_terminal::IsTerminal;
|
||||
use prettytable::format;
|
||||
|
||||
@@ -12,7 +12,6 @@ use prettytable::row;
|
||||
use prettytable::{Attr, Cell, Row, Table};
|
||||
use log::debug;
|
||||
use anyhow::anyhow;
|
||||
use rusqlite::Connection;
|
||||
|
||||
pub fn mode_list(
|
||||
cmd: &mut clap::Command,
|
||||
|
||||
@@ -5,7 +5,6 @@ use std::path::PathBuf;
|
||||
use strum::IntoEnumIterator;
|
||||
|
||||
use crate::compression::default_type;
|
||||
use crate::compression::program::CompressionEngineProgram;
|
||||
use crate::compression::CompressionType;
|
||||
use crate::compression::COMPRESSION_PROGRAMS;
|
||||
use std::str::FromStr;
|
||||
|
||||
Reference in New Issue
Block a user