| 94 | bool IsDirectory() const { return type_ == FileType::Directory; } |
| 95 | |
| 96 | bool Equals(const FileInfo& other) const { |
| 97 | return type() == other.type() && path() == other.path() && size() == other.size() && |
| 98 | mtime() == other.mtime(); |
| 99 | } |
| 100 | |
| 101 | std::string ToString() const; |
| 102 |