Does the file exist
| 835 | |
| 836 | /// Does the file exist |
| 837 | BOOL file_exists(const std::string& path) { |
| 838 | FILE* file = std::fopen(path.c_str(), "r"); |
| 839 | if (file) { |
| 840 | fclose(file); |
| 841 | return TRUE; |
| 842 | } |
| 843 | return FALSE; |
| 844 | } |
| 845 | |
| 846 | /// Get the digits |
| 847 | I32 get_digits(F64 scale_factor) { |
nothing calls this directly
no outgoing calls
no test coverage detected