| 163 | } |
| 164 | |
| 165 | bool WriteFile(const std::string& path, const std::string& contents) |
| 166 | { |
| 167 | std::ofstream fstream(path, std::ios::out); |
| 168 | if (!fstream) return false; |
| 169 | fstream << contents; |
| 170 | fstream.flush(); |
| 171 | return true; |
| 172 | } |
| 173 | |
| 174 | std::string GetSuffix(const std::string& name) |
| 175 | { |
no outgoing calls
no test coverage detected