\brief check if the file exists \param name the name of the file \return true if the file exists, false otherwise
| 336 | /// \param name the name of the file |
| 337 | /// \return true if the file exists, false otherwise |
| 338 | inline bool check_file_exists(std::string name) { |
| 339 | std::ifstream file(name); |
| 340 | return file.good(); |
| 341 | } |
| 342 | |
| 343 | |
| 344 | /// \brief get the user's Documents directory on Windows or config directory on Linux |
nothing calls this directly
no outgoing calls
no test coverage detected