| 69 | } |
| 70 | |
| 71 | std::string IBackupContainer::ExpireProgress::toString() const { |
| 72 | std::string s = step + "..."; |
| 73 | if (total > 0) { |
| 74 | s += format("%d/%d (%.2f%%)", done, total, double(done) / total * 100); |
| 75 | } |
| 76 | return s; |
| 77 | } |
| 78 | |
| 79 | void BackupFileList::toStream(FILE* fout) const { |
| 80 | for (const RangeFile& f : ranges) { |