]> git.proxmox.com Git - proxmox-backup.git/commitdiff
fixed_index: remove unused 'print_info' function
authorHannes Laimer <h.laimer@proxmox.com>
Wed, 15 Jun 2022 08:19:57 +0000 (08:19 +0000)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 21 Jun 2022 08:43:19 +0000 (10:43 +0200)
Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
pbs-datastore/src/fixed_index.rs

index 936bd2e7d120bc74993c1f9ae9ee2eee7c6a559f..9f703ccedbccedbb9d5997241941dbf6a1abf618 100644 (file)
@@ -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 {