[pbs-devel] [PATCH proxmox-backup v3 10/10] fixed_index: remove unused 'print_info' function

Hannes Laimer h.laimer at proxmox.com
Wed Jun 15 10:19:57 CEST 2022


Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
 pbs-datastore/src/fixed_index.rs | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/pbs-datastore/src/fixed_index.rs b/pbs-datastore/src/fixed_index.rs
index 936bd2e7..9f703cce 100644
--- a/pbs-datastore/src/fixed_index.rs
+++ b/pbs-datastore/src/fixed_index.rs
@@ -142,19 +142,6 @@ impl FixedIndexReader {
 
         Ok(())
     }
-
-    pub fn print_info(&self) {
-        log::info!("Size: {}", self.size);
-        log::info!("ChunkSize: {}", self.chunk_size);
-
-        let mut ctime_str = self.ctime.to_string();
-        if let Ok(s) = proxmox_time::strftime_local("%c", self.ctime) {
-            ctime_str = s;
-        }
-
-        log::info!("CTime: {}", ctime_str);
-        log::info!("UUID: {:?}", self.uuid);
-    }
 }
 
 impl IndexFile for FixedIndexReader {
-- 
2.30.2






More information about the pbs-devel mailing list