fix: remove unused imports
This commit is contained in:
@@ -3,7 +3,7 @@ mod error;
|
|||||||
mod reporter;
|
mod reporter;
|
||||||
mod storage;
|
mod storage;
|
||||||
|
|
||||||
use std::{ops::Deref, sync::Arc, time::Duration};
|
use std::{ops::Deref, sync::Arc};
|
||||||
|
|
||||||
use clap::{CommandFactory, Parser, Subcommand};
|
use clap::{CommandFactory, Parser, Subcommand};
|
||||||
use indicatif::MultiProgress;
|
use indicatif::MultiProgress;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
use std::{borrow::Cow, time::Duration};
|
use std::borrow::Cow;
|
||||||
|
|
||||||
use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle};
|
use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle};
|
||||||
|
|
||||||
|
|||||||
@@ -1,17 +1,11 @@
|
|||||||
use std::fs::DirEntry;
|
use std::io::{self};
|
||||||
use std::io::{self, BufWriter};
|
|
||||||
use std::path::{self, Path};
|
|
||||||
use std::{fs, path::PathBuf};
|
use std::{fs, path::PathBuf};
|
||||||
|
|
||||||
use flate2::{Compression, write::GzEncoder};
|
|
||||||
use tar::Builder;
|
|
||||||
use walkdir::WalkDir;
|
|
||||||
|
|
||||||
use crate::Data;
|
use crate::Data;
|
||||||
use crate::archive::create_archive;
|
use crate::archive::create_archive;
|
||||||
use crate::error::{Error, Result};
|
use crate::error::{Error, Result};
|
||||||
use crate::reporter::Reporter;
|
use crate::reporter::Reporter;
|
||||||
use crate::storage::{IGNORE_FILES, StorageImpl, base_path_prism};
|
use crate::storage::StorageImpl;
|
||||||
|
|
||||||
pub struct FSStorage;
|
pub struct FSStorage;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user