Debug helper
| 115 | |
| 116 | // Debug helper |
| 117 | std::string FileInfo::ToString() const { |
| 118 | std::stringstream os; |
| 119 | os << *this; |
| 120 | return os.str(); |
| 121 | } |
| 122 | |
| 123 | std::ostream& operator<<(std::ostream& os, const FileInfo& info) { |
| 124 | return os << "FileInfo(" << info.type() << ", " << info.path() << ", " << info.size() |