mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-11 09:59:19 -04:00
add files changed while reading to Statistics class, fixes #7354 Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
This commit is contained in:
parent
b208785fff
commit
cad138aa23
2 changed files with 3 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ Added files: {added_files}
|
|||
Unchanged files: {unchanged_files}
|
||||
Modified files: {modified_files}
|
||||
Error files: {error_files}
|
||||
Files changed while reading: {files_changed_while_reading}
|
||||
Bytes read from remote: {stats.rx_bytes}
|
||||
Bytes sent to remote: {stats.tx_bytes}
|
||||
""".format(
|
||||
|
|
@ -107,6 +108,7 @@ Bytes sent to remote: {stats.tx_bytes}
|
|||
unchanged_files=self.files_stats["U"],
|
||||
modified_files=self.files_stats["M"],
|
||||
error_files=self.files_stats["E"],
|
||||
files_changed_while_reading=self.files_stats["C"],
|
||||
)
|
||||
|
||||
def __repr__(self):
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@ Added files: 0
|
|||
Unchanged files: 0
|
||||
Modified files: 0
|
||||
Error files: 0
|
||||
Files changed while reading: 0
|
||||
Bytes read from remote: 0
|
||||
Bytes sent to remote: 0
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue