Add files changed while reading to Statistics class #7354 (#7378)

add files changed while reading to Statistics class, fixes #7354

Signed-off-by: Soumik Dutta <shalearkane@gmail.com>
This commit is contained in:
Soumik Dutta 2023-02-25 06:17:39 +05:30 committed by GitHub
parent b208785fff
commit cad138aa23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -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):

View file

@ -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
"""