| 73 | double lastModified() const { return lastModified_; } |
| 74 | |
| 75 | std::string extension() const { |
| 76 | std::string::size_type pos = path_.find_last_of('.'); |
| 77 | if (pos != std::string::npos) |
| 78 | return path_.substr(pos); |
| 79 | else |
| 80 | return ""; // #nocov |
| 81 | } |
| 82 | |
| 83 | bool operator<(const FileInfo& other) const { |
| 84 | return path_ < other.path_; |
no outgoing calls
no test coverage detected