1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Print the number of files if available in the snapshot file

This commit is contained in:
Gilbert Chen
2018-11-03 10:38:35 -04:00
parent 073292018c
commit 244b797a1c

View File

@@ -705,6 +705,11 @@ func (manager *SnapshotManager) ListSnapshots(snapshotID string, revisionsToList
}
if showFiles {
if snapshot.NumberOfFiles > 0 {
LOG_INFO("SNAPSHOT_STATS", "Files: %d", snapshot.NumberOfFiles)
}
maxSize := int64(9)
maxSizeDigits := 1
totalFiles := 0