From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 6D6121FF2C6 for ; Tue, 9 Jul 2024 12:47:18 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 93BAE1D7E0; Tue, 9 Jul 2024 12:47:27 +0200 (CEST) From: Stoiko Ivanov To: pve-devel@lists.proxmox.com Date: Tue, 9 Jul 2024 12:47:05 +0200 Message-Id: <20240709104705.1681395-6-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240709104705.1681395-1-s.ivanov@proxmox.com> References: <20240709104705.1681395-1-s.ivanov@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.075 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH proxmox-offline-mirror v2 5/5] pool: remove unused imports X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Stoiko Ivanov --- 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 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel