mirror of
https://github.com/restic/restic.git
synced 2025-08-12 18:47:42 +00:00
backup: Fix reporting of directory count in summary
Previously the directory stats were reported immediately after calling `SaveDir`. However, as the latter method saves the tree asynchronously the stats were still initialized to their nil value. The stats are now reported via a callback similar to the one used for the fileSaver.
This commit is contained in:
6
changelog/unreleased/issue-1863
Normal file
6
changelog/unreleased/issue-1863
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Report correct number of directories processed by backup
|
||||
|
||||
The directory statistics calculation was fixed to report the actual number
|
||||
of processed directories instead of always zero.
|
||||
|
||||
https://github.com/restic/restic/issues/1863
|
Reference in New Issue
Block a user