[pve-devel] [PATCH proxmox-offline-mirror v2 5/5] pool: remove unused imports

Stoiko Ivanov s.ivanov at proxmox.com
Tue Jul 9 12:47:05 CEST 2024


Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 src/pool.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pool.rs b/src/pool.rs
index 56dcbb4..7db976e 100644
--- a/src/pool.rs
+++ b/src/pool.rs
@@ -1,14 +1,14 @@
 use std::{
     cmp::max,
     collections::{hash_map::Entry, HashMap},
-    fs::{hard_link, remove_dir, File, Metadata},
+    fs::{hard_link, File, Metadata},
     ops::Deref,
     os::linux::fs::MetadataExt,
     path::{Path, PathBuf},
 };
 
 use anyhow::{bail, format_err, Error};
-use nix::{unistd, NixPath};
+use nix::unistd;
 
 use proxmox_apt::deb822::CheckSums;
 use proxmox_sys::fs::{create_path, file_get_contents, replace_file, CreateOptions};
-- 
2.39.2





More information about the pve-devel mailing list