| 70 | #endif |
| 71 | |
| 72 | bool IsRegularFile(const std::string& path) { |
| 73 | std::ifstream stream(path.c_str(), std::ios::binary); |
| 74 | return stream.good(); |
| 75 | } |
| 76 | |
| 77 | bool EndsWith(const std::string& value, const std::string& suffix) { |
| 78 | return value.size() >= suffix.size() && |
no outgoing calls
no test coverage detected