From 8455c950036ccd2db6ac0e34ea00014d5de1ec2e Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 23 Aug 2024 15:02:22 +0200 Subject: [PATCH] info: do not output deduplicated_size No precise refcounting, can't compute that inexpensively. --- src/borg/archive.py | 1 - src/borg/archiver/info_cmd.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/borg/archive.py b/src/borg/archive.py index 3550962df..f511d410f 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -123,7 +123,6 @@ def __repr__(self): def as_dict(self): return { "original_size": FileSize(self.osize, iec=self.iec), - "deduplicated_size": FileSize(self.usize, iec=self.iec), "nfiles": self.nfiles, "hashing_time": self.hashing_time, "chunking_time": self.chunking_time, diff --git a/src/borg/archiver/info_cmd.py b/src/borg/archiver/info_cmd.py index 763323f22..3de4d5a36 100644 --- a/src/borg/archiver/info_cmd.py +++ b/src/borg/archiver/info_cmd.py @@ -43,7 +43,6 @@ def do_info(self, args, repository, manifest, cache): Command line: {command_line} Number of files: {stats[nfiles]} Original size: {stats[original_size]} - Deduplicated size: {stats[deduplicated_size]} """ ) .strip()