cleaning imports and warnings

This commit is contained in:
grimhilt
2023-06-17 01:26:13 +02:00
parent ea2b0772af
commit b16058b4d3
7 changed files with 15 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
use clap::Values;
use crate::utils::{self};
use crate::utils::nextsyncignore::{self, ignore_file, ignore_files};
use crate::utils::nextsyncignore::{self, ignore_file};
use crate::store;
use std::path::{Path, PathBuf};
use std::io::Write;

View File

@@ -1,13 +1,9 @@
use std::fs::OpenOptions;
use std::fs::DirBuilder;
use std::io::prelude::*;
use std::io::{self, Cursor};
use std::path::{Path, PathBuf};
use clap::Values;
use regex::Regex;
use xml::reader::{EventReader, XmlEvent};
use crate::services::api::ApiError;
use crate::services::list_folders::{ListFolders, FolderContent};
use crate::services::list_folders::ListFolders;
use crate::services::download_files::DownloadFiles;
use crate::store::object;
use crate::commands;
@@ -24,7 +20,6 @@ pub fn clone(remote: Values<'_>) {
None => {
eprintln!("No username found");
todo!();
""
}
};