| 11 | #endif // __linux__ |
| 12 | |
| 13 | std::string getFileContents(const std::string& filePath) |
| 14 | { |
| 15 | std::ifstream inFile(filePath); |
| 16 | std::stringstream stream; |
| 17 | |
| 18 | stream << inFile.rdbuf(); //Gets the file contents into a string stream |
| 19 | return stream.str(); //Return the string from the string stream |
| 20 | } |
| 21 | |
| 22 | |
| 23 |
nothing calls this directly
no outgoing calls
no test coverage detected