Helper function to check if file exists
| 9 | |
| 10 | // Helper function to check if file exists |
| 11 | bool fileExists(const std::string& filename) { |
| 12 | struct stat buffer; |
| 13 | return (stat(filename.c_str(), &buffer) == 0); |
| 14 | } |
| 15 | |
| 16 | // Helper function to parse cache size string (e.g., "1mb", "1gb", "1024") |
| 17 | uint64_t parseCacheSize(const std::string& sizeStr) { |
no test coverage detected